List:Commits« Previous MessageNext Message »
From:Andrei Elkin Date:October 15 2007 3:03pm
Subject:bk commit into 5.1 tree (aelkin:1.2607) BUG#20435
View as plain text  
Below is the list of changes that have just been committed into a local
5.1 repository of elkin. When elkin does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html

ChangeSet@stripped, 2007-10-15 16:03:47+03:00, aelkin@stripped
+1 -0
  bug#20435 wl#342 heartbeat
  
  correcting casting that caused a warn on win.

  sql/rpl_mi.cc@stripped, 2007-10-15 16:03:44+03:00,
aelkin@stripped +1 -1
    correcting type-casting. The former rhs was left to be possibly of double type.
     

diff -Nrup a/sql/rpl_mi.cc b/sql/rpl_mi.cc
--- a/sql/rpl_mi.cc	2007-10-15 12:38:17 +03:00
+++ b/sql/rpl_mi.cc	2007-10-15 16:03:44 +03:00
@@ -78,7 +78,7 @@ void init_master_info_with_options(MASTE
     if CHANGE MASTER did not specify it.  (no data loss in conversion
     as hb period has a max)
   */
-  mi->heartbeat_period= (float) slave_net_timeout/2.0;
+  mi->heartbeat_period= (float) (slave_net_timeout/2.0);
 
   mi->ssl= master_ssl;
   if (master_ssl_ca)
Thread
bk commit into 5.1 tree (aelkin:1.2607) BUG#20435Andrei Elkin15 Oct