Commit b37c586f authored by dlenev@mysql.com's avatar dlenev@mysql.com

Fixed race conditions in rpl_multi_update and rpl_multi_delete tests which

caused spurious test failures.
parent 945ea8a9
...@@ -24,7 +24,7 @@ connection master; ...@@ -24,7 +24,7 @@ connection master;
delete from t1; delete from t1;
delete from t2; delete from t2;
connection slave; sync_slave_with_master;
# force a difference to see if master's multi-DELETE will correct it # force a difference to see if master's multi-DELETE will correct it
insert into t1 values(1); insert into t1 values(1);
insert into t2 values(1); insert into t2 values(1);
......
...@@ -33,7 +33,7 @@ delete from t2; ...@@ -33,7 +33,7 @@ delete from t2;
insert into t1 values(1,1); insert into t1 values(1,1);
insert into t2 values(1,1); insert into t2 values(1,1);
connection slave; sync_slave_with_master;
# force a difference to see if master's multi-UPDATE will correct it # force a difference to see if master's multi-UPDATE will correct it
update t1 set a=2; update t1 set a=2;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment