MySQL Lists are EOL. Please join:

List:Commits« Previous MessageNext Message »
From:Sven Sandberg Date:July 2 2008 3:04pm
Subject:bzr commit into mysql-5.1 branch (sven:2683) Bug#37200
View as plain text  
#At file:///home/sven/bzr/debug-max/5.1-bugteam/

 2683 Sven Sandberg	2008-07-02
      BUG#37200: rpl_switch_stm_row_mixed fails sporadically in pushbuild
      The previous fix for the bug was incomplete. The test failed
      because t2 did not exist on the slave (since the slave was
      lagging) when the
      wait_condition was executed. Fixed by inserting
      sync_slave_with_master just after t2 was created.

=== modified file 'mysql-test/suite/rpl/t/rpl_switch_stm_row_mixed.test'
--- a/mysql-test/suite/rpl/t/rpl_switch_stm_row_mixed.test	2008-06-30 11:06:41 +0000
+++ b/mysql-test/suite/rpl/t/rpl_switch_stm_row_mixed.test	2008-07-02 15:04:45 +0000
@@ -147,6 +147,9 @@ create table t5 select * from t1 where 3
 # what if UUID() is first:
 insert into t5 select UUID() from t1 where 3 in (select 1 union select 2 union select 3 union select * from t4);
+connection master;
 # inside a stored procedure
 delimiter |;
@@ -300,7 +303,7 @@ insert delayed into t2 values(@a);
 # sync_slave_with_master is later called). Instead, we wait until the
 # rows make it to t2 on the slave.
 connection slave;
-let $wait_condition= SELECT COUNT(*) = 19 FROM t2;
+let $wait_condition= SELECT COUNT(*) = 19 FROM mysqltest1.t2;
 --source include/
 connection master;

bzr commit into mysql-5.1 branch (sven:2683) Bug#37200Sven Sandberg2 Jul