Bug#40142: possible reason of timeout is stopped slave threads before

sync_with_master command. The patch add waiting of proper state of slave 
before sync with master.
This commit is contained in:
Serge Kozlov 2008-12-12 14:25:36 +03:00
parent 5c16a315ca
commit 755bcd99c0

View file

@ -25,6 +25,7 @@ let $wait_condition= SELECT COUNT(*) > 0 FROM t1;
source include/wait_condition.inc;
stop slave io_thread;
start slave io_thread;
source include/wait_for_slave_to_start.inc;
sync_with_master;
connection master;