MySQL Lists are EOL. Please join:

List:Commits« Previous MessageNext Message »
From:Andrei Elkin Date:March 1 2010 12:33pm
Subject:bzr commit into mysql-5.1-bugteam branch (aelkin:3366) Bug#51600
View as plain text  
#At file:///home/andrei/MySQL/BZR/mysql-5.1-bugteam/ based on revid:joro@stripped

 3366 Andrei Elkin	2010-03-01
      Bug #51600  rpl_slave_skip waits for slave to stop incorrectly
      
      START SLAVE UNTIL MASTER ... specifies only SQL thread to stop.
      rpl_slave_skip erronously deployed waiting for stop of both threads.
      
      Corrected with deploying the correct macro.
      Notice, earlier a similar bug@47749 was fixed in mysql-trunk.
     @ mysql-test/suite/rpl/t/rpl_slave_skip.test
        changing two waiting calls for offline of both threads into waiting for SQL to stop.

    modified:
      mysql-test/suite/rpl/t/rpl_slave_skip.test
=== modified file 'mysql-test/suite/rpl/t/rpl_slave_skip.test'
--- a/mysql-test/suite/rpl/t/rpl_slave_skip.test	2009-01-23 12:22:05 +0000
+++ b/mysql-test/suite/rpl/t/rpl_slave_skip.test	2010-03-01 12:33:15 +0000
@@ -27,7 +27,7 @@ connection slave;
 
 # Stop when reaching the the first table map event.
 START SLAVE UNTIL MASTER_LOG_FILE='master-bin.000001', MASTER_LOG_POS=762;
-wait_for_slave_to_stop;
+source include/wait_for_slave_sql_to_stop.inc;
 --replace_result $MASTER_MYPORT MASTER_PORT
 --replace_column 1 # 8 # 9 # 23 # 33 # 35 # 36 #
 query_vertical SHOW SLAVE STATUS;
@@ -59,7 +59,7 @@ source include/show_binlog_events.inc;
 
 connection slave;
 START SLAVE UNTIL MASTER_LOG_FILE='master-bin.000001', MASTER_LOG_POS=106;
-wait_for_slave_to_stop;
+source include/wait_for_slave_sql_to_stop.inc;
 SET GLOBAL SQL_SLAVE_SKIP_COUNTER=1;
 START SLAVE;
 sync_with_master;


Attachment: [text/bzr-bundle] bzr/aelkin@mysql.com-20100301123315-ksrcheb43r5wrvdu.bundle
Thread
bzr commit into mysql-5.1-bugteam branch (aelkin:3366) Bug#51600Andrei Elkin1 Mar