Commit 8aa155e9 authored by unknown's avatar unknown

Add extra INSERT to make usre sync_slave_with_master has job to do


mysql-test/r/rpl_ssl.result:
  Add an extra INSERT to make sure that the "sync_slave_with_master" has
  someghing to do and thus have to wait for the slave IO thread
  to start.
mysql-test/t/rpl_ssl.test:
  Add an extra INSERT to make sure that the "sync_slave_with_master" has
  someghing to do and thus have to wait for the slave IO thread
  to start.
parent 55eb077d
......@@ -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