List:Commits« Previous MessageNext Message »
From:Andrei Elkin Date:October 27 2010 2:51pm
Subject:bzr commit into mysql-next-mr branch (andrei.elkin:3186) Bug#57589
View as plain text  
#At file:///home/andrei/MySQL/BZR/2a-23May/WL/mysql-next-mr-wl2540/ based on revid:andrei.elkin@stripped

 3186 Andrei Elkin	2010-10-27
      Bug #57589 SHOW SLAVE STATUS doesnt show err:1665 on NM-OS when slave cant handle checksum
      
      fixing the first patch copy-not-pasted`s goto err and the text for a new warning on the master

    modified:
      sql/rpl_master.cc
=== modified file 'sql/rpl_master.cc'
--- a/sql/rpl_master.cc	2010-10-27 10:23:24 +0000
+++ b/sql/rpl_master.cc	2010-10-27 14:51:07 +0000
@@ -818,9 +818,10 @@ impossible position";
            my_errno= ER_MASTER_FATAL_ERROR_READING_BINLOG;
            errmsg= "Slave can not handle replication events with the checksum "
              "that master is configured to log";
-           sql_print_warning("Configured to log replication events with "
-                             "checksum Master rejects sending them to Slave "
-                             "that can not handle it.");
+           sql_print_warning("Master is configured to log replication events "
+                             "with checksum, but will not send such events to "
+                             "slaves that cannot process them");
+           goto err;
          }
          binlog_can_be_corrupted= test((*packet)[FLAGS_OFFSET+ev_offset] &
                                        LOG_EVENT_BINLOG_IN_USE_F);
@@ -918,9 +919,9 @@ impossible position";
           my_errno= ER_MASTER_FATAL_ERROR_READING_BINLOG;
           errmsg= "Slave can not handle replication events with the checksum "
             "that master is configured to log";
-          sql_print_warning("Configured to log replication events with "
-                            "checksum Master rejects sending them to Slave "
-                            "that can not handle it.");
+          sql_print_warning("Master is configured to log replication events "
+                            "with checksum, but will not send such events to "
+                            "slaves that cannot process them");
           goto err;
         }
         binlog_can_be_corrupted= test((*packet)[FLAGS_OFFSET+ev_offset] &


Attachment: [text/bzr-bundle] bzr/andrei.elkin@oracle.com-20101027145107-jfr65w6fy7srvz83.bundle
Thread
bzr commit into mysql-next-mr branch (andrei.elkin:3186) Bug#57589Andrei Elkin27 Oct