MySQL Lists are EOL. Please join:

List:Commits« Previous MessageNext Message »
From:Marc Alff Date:March 2 2010 12:10am
Subject:bzr commit into mysql-next-mr-bugfixing branch (marc.alff:3120) Bug#51612
View as plain text  
#At file:///home/malff/BZR_TREE/mysql-next-mr-bugfixing/ based on revid:roy.lyseng@stripped

 3120 Marc Alff	2010-03-01
      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.

    modified:
      storage/perfschema/pfs_instr.cc
=== modified file 'storage/perfschema/pfs_instr.cc'
--- a/storage/perfschema/pfs_instr.cc	2010-02-26 17:39:57 +0000
+++ b/storage/perfschema/pfs_instr.cc	2010-03-02 00:10:01 +0000
@@ -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.


Attachment: [text/bzr-bundle] bzr/marc.alff@sun.com-20100302001001-73lojr3g8l0hxva3.bundle
Thread
bzr commit into mysql-next-mr-bugfixing branch (marc.alff:3120) Bug#51612Marc Alff2 Mar