List:Commits« Previous MessageNext Message »
From:Andrei Elkin Date:October 15 2007 12:59pm
Subject:bk commit into 5.1 tree (aelkin:1.2655) BUG#20435
View as plain text  
Below is the list of changes that have just been committed into a local
5.1 repository of aelkin. When aelkin 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 14:59:27+02:00, aelkin@stripped +1 -0
  bug#20435 wl#342 heartbeat
  
  correction for a warning on win

  sql/rpl_mi.cc@stripped, 2007-10-15 14:59:24+02:00, aelkin@stripped +1 -1
    correction to type-casting as precedence rule left the former rhs form still to
    be of double type. As noted, this is safe - no accuracy of data loss.

diff -Nrup a/sql/rpl_mi.cc b/sql/rpl_mi.cc
--- a/sql/rpl_mi.cc	2007-10-15 13:49:18 +02:00
+++ b/sql/rpl_mi.cc	2007-10-15 14:59:24 +02:00
@@ -83,7 +83,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.2655) BUG#20435Andrei Elkin15 Oct