Add extra INSERT to make usre sync_slave_with_master has job to do

parent cedde575
......@@ -58,6 +58,7 @@ STOP SLAVE;
select * from t1;
t
1
insert into t1 values (NULL);
show slave status;
Slave_IO_State #
Master_Host 127.0.0.1
......
......@@ -54,6 +54,9 @@ while ($i)
start slave;
enable_query_log;
connection master;
# INSERT one more record to make sure
# the sync has something to do
insert into t1 values (NULL);
sync_slave_with_master;
--replace_result $MYSQL_TEST_DIR MYSQL_TEST_DIR $MASTER_MYPORT MASTER_MYPORT
--replace_column 1 # 7 # 8 # 9 # 22 # 23 # 33 #
......
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