mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 04:53:01 +01:00
Added synchronization to avoid race condition in tests
This commit is contained in:
parent
9bdabbf6d8
commit
3f6d319b36
1 changed files with 3 additions and 0 deletions
|
@ -24,6 +24,7 @@ use mysqltest1;
|
||||||
connection master;
|
connection master;
|
||||||
alter table t1 engine=myisam;
|
alter table t1 engine=myisam;
|
||||||
show create table t1;
|
show create table t1;
|
||||||
|
sync_slave_with_master;
|
||||||
|
|
||||||
connection slave;
|
connection slave;
|
||||||
alter table t1 engine=myisam;
|
alter table t1 engine=myisam;
|
||||||
|
@ -48,6 +49,7 @@ show create table t1;
|
||||||
connection master;
|
connection master;
|
||||||
alter table t1 engine=memory;
|
alter table t1 engine=memory;
|
||||||
show create table t1;
|
show create table t1;
|
||||||
|
sync_slave_with_master;
|
||||||
|
|
||||||
connection slave;
|
connection slave;
|
||||||
alter table t1 engine=myisam;
|
alter table t1 engine=myisam;
|
||||||
|
@ -72,6 +74,7 @@ show create table t1;
|
||||||
connection master;
|
connection master;
|
||||||
alter table t1 engine=innodb;
|
alter table t1 engine=innodb;
|
||||||
show create table t1;
|
show create table t1;
|
||||||
|
sync_slave_with_master;
|
||||||
|
|
||||||
connection slave;
|
connection slave;
|
||||||
alter table t1 engine=myisam;
|
alter table t1 engine=myisam;
|
||||||
|
|
Loading…
Reference in a new issue