diff options
author | Marc Alff <marc.alff@sun.com> | 2010-03-01 17:10:01 -0700 |
---|---|---|
committer | Marc Alff <marc.alff@sun.com> | 2010-03-01 17:10:01 -0700 |
commit | 77385a913621d876ad7d35f938a20c392bf1db0c (patch) | |
tree | e8b0818b8aef4475bc0bc15e851e41a2f00b0682 /storage/perfschema | |
parent | 74310b21f11a4a61b3f25dec09e77bd3d2a4045b (diff) | |
download | mariadb-git-77385a913621d876ad7d35f938a20c392bf1db0c.tar.gz |
Bug#51612 Un initialized locker_lost variable in pfs_instr.cc
Fixed the missing initialization of locker_lost.
This fix is not strictly necessary, but is desirable to re-align the code
from 5.5 and 6.0, and reduce the spurious code differences.
This will facilitate maintenance and help to apply patches cleanly, for merges.
Diffstat (limited to 'storage/perfschema')
-rw-r--r-- | storage/perfschema/pfs_instr.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/perfschema/pfs_instr.cc b/storage/perfschema/pfs_instr.cc index 557ec1c14b5..28b54cc6979 100644 --- a/storage/perfschema/pfs_instr.cc +++ b/storage/perfschema/pfs_instr.cc @@ -66,7 +66,7 @@ ulong events_waits_history_per_thread; /** Number of instruments class per thread. */ ulong instr_class_per_thread; /** Number of locker lost. @sa LOCKER_STACK_SIZE. */ -ulong locker_lost; +ulong locker_lost= 0; /** Mutex instrumentation instances array. |