summaryrefslogtreecommitdiff
path: root/mysql-test/t/rpl000005.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/t/rpl000005.test')
-rw-r--r--mysql-test/t/rpl000005.test6
1 files changed, 5 insertions, 1 deletions
diff --git a/mysql-test/t/rpl000005.test b/mysql-test/t/rpl000005.test
index 59b52f1a0cf..3e1d14912b2 100644
--- a/mysql-test/t/rpl000005.test
+++ b/mysql-test/t/rpl000005.test
@@ -7,8 +7,12 @@ INSERT t1 SET name='Jacob', age=2;
INSERT into t1 SET name='Caleb', age=1;
ALTER TABLE t1 ADD id int(8) ZEROFILL AUTO_INCREMENT PRIMARY KEY;
@r/rpl000005.result select * from t1;
+save_master_pos;
connection slave;
-sleep 2;
+sync_with_master;
@r/rpl000005.result select * from t1;
connection master;
drop table t1;
+save_master_pos;
+connection slave;
+sync_with_master;