List:Commits« Previous MessageNext Message »
From:Luis Soares Date:June 3 2010 11:31pm
Subject:bzr commit into mysql-5.1-rep+2 branch (luis.soares:3187) Bug#52166
View as plain text  
#At file:///home/lsoares/Workspace/bzr/work/bugfixing/52166/post-push-fix/mysql-5.1-rep%2B2/ based on revid:dao-gang.qu@stripped

 3187 Luis Soares	2010-06-04
      BUG#52166: Seconds_Behind_Master spikes after long idle period
      
      Post-push fix.
      
      Fixing valgrind warnings: clock_diff_with_master was not 
      initialized (and this was even the case before patch for BUG#51266).
      
      We fix this by setting clock_diff_with_master to zero on Master_info
      contstructor.

    modified:
      sql/rpl_mi.cc
=== modified file 'sql/rpl_mi.cc'
--- a/sql/rpl_mi.cc	2009-11-04 12:28:20 +0000
+++ b/sql/rpl_mi.cc	2010-06-03 23:31:26 +0000
@@ -35,8 +35,9 @@ Master_info::Master_info(bool is_slave_r
    ssl(0), ssl_verify_server_cert(0), fd(-1), io_thd(0), 
    port(MYSQL_PORT), connect_retry(DEFAULT_CONNECT_RETRY), inited(0), 
    rli(is_slave_recovery), abort_slave(0), 
-   slave_running(0), slave_run_id(0), sync_counter(0),
-   heartbeat_period(0), received_heartbeats(0), master_id(0)
+   slave_running(0), slave_run_id(0), clock_diff_with_master(0), 
+   sync_counter(0), heartbeat_period(0), received_heartbeats(0), 
+   master_id(0)
 {
   host[0] = 0; user[0] = 0; password[0] = 0;
   ssl_ca[0]= 0; ssl_capath[0]= 0; ssl_cert[0]= 0;


Attachment: [text/bzr-bundle] bzr/luis.soares@sun.com-20100603233126-hxilkg002dq6o7nb.bundle
Thread
bzr commit into mysql-5.1-rep+2 branch (luis.soares:3187) Bug#52166Luis Soares4 Jun