File tree Expand file tree Collapse file tree 2 files changed +2
-17
lines changed Expand file tree Collapse file tree 2 files changed +2
-17
lines changed Original file line number Diff line number Diff line change 1
1
/* ****************************************************************************
2
2
3
3
Copyright (c) 2013, 2016, Oracle and/or its affiliates. All Rights Reserved.
4
- Copyright (c) 2017, MariaDB Corporation.
4
+ Copyright (c) 2017, 2018, MariaDB Corporation.
5
5
6
6
This program is free software; you can redistribute it and/or modify it under
7
7
the terms of the GNU General Public License as published by the Free Software
@@ -454,14 +454,7 @@ class BlockMutexPolicy
454
454
void destroy ()
455
455
UNIV_NOTHROW
456
456
{
457
- latch_meta_t & meta = sync_latch_get_meta (m_id);
458
-
459
- ut_ad (meta.get_id () == m_id);
460
-
461
- meta.get_counter ()->sum_deregister (m_count);
462
-
463
457
m_count = NULL ;
464
-
465
458
ut_d (MutexDebug<MutexType>::destroy ());
466
459
}
467
460
Original file line number Diff line number Diff line change 1
1
/* ****************************************************************************
2
2
3
3
Copyright (c) 1995, 2016, Oracle and/or its affiliates. All Rights Reserved.
4
- Copyright (c) 2017, MariaDB Corporation.
4
+ Copyright (c) 2017, 2018, MariaDB Corporation.
5
5
6
6
This program is free software; you can redistribute it and/or modify it under
7
7
the terms of the GNU General Public License as published by the Free Software
@@ -640,14 +640,6 @@ class LatchCounter {
640
640
return (count);
641
641
}
642
642
643
- /* * Deregister the count. We don't do anything
644
- @param[in] count The count instance to deregister */
645
- void sum_deregister (Count* count)
646
- UNIV_NOTHROW
647
- {
648
- /* Do nothing */
649
- }
650
-
651
643
/* * Register a single instance counter */
652
644
void single_register (Count* count)
653
645
UNIV_NOTHROW
You can’t perform that action at this time.
0 commit comments