Commit 3f6d319b authored by unknown's avatar unknown
Browse files

Added synchronization to avoid race condition in tests

parent 9bdabbf6
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -24,6 +24,7 @@ use mysqltest1;
connection master;
alter table t1 engine=myisam;
show create table t1;
sync_slave_with_master;

connection slave;
alter table t1 engine=myisam;
@@ -48,6 +49,7 @@ show create table t1;
connection master;
alter table t1 engine=memory;
show create table t1;
sync_slave_with_master;

connection slave;
alter table t1 engine=myisam;
@@ -72,6 +74,7 @@ show create table t1;
connection master;
alter table t1 engine=innodb;
show create table t1;
sync_slave_with_master;

connection slave;
alter table t1 engine=myisam;