Added synchronization to avoid race condition in tests

This commit is contained in:
unknown 2006-01-09 11:53:37 +01:00
parent 9bdabbf6d8
commit 3f6d319b36

View file

@ -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;