Give the "sync_slave_with_master" something to do

parent 7cf3a2a6
...@@ -57,6 +57,7 @@ STOP SLAVE; ...@@ -57,6 +57,7 @@ STOP SLAVE;
select * from t1; select * from t1;
t t
1 1
insert into t1 values (NULL);
show slave status; show slave status;
Slave_IO_State # Slave_IO_State #
Master_Host 127.0.0.1 Master_Host 127.0.0.1
......
...@@ -54,6 +54,7 @@ while ($i) ...@@ -54,6 +54,7 @@ while ($i)
start slave; start slave;
enable_query_log; enable_query_log;
connection master; connection master;
insert into t1 values (NULL);
sync_slave_with_master; sync_slave_with_master;
--replace_result $MYSQL_TEST_DIR MYSQL_TEST_DIR $MASTER_MYPORT MASTER_MYPORT --replace_result $MYSQL_TEST_DIR MYSQL_TEST_DIR $MASTER_MYPORT MASTER_MYPORT
--replace_column 1 # 8 # 9 # 23 # 33 # --replace_column 1 # 8 # 9 # 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