1include/master-slave.inc
2[connection master]
3connection slave;
4set @time_before_kill := (select CURRENT_TIMESTAMP);
5[Time before the query]
6[Connection ID of the slave I/O thread found]
7kill <connection_id>;
8include/wait_for_slave_io_to_stop.inc
9set @time_after_kill := (select CURRENT_TIMESTAMP);
10[Time after the query]
11[Killing of the slave IO thread was successful]
12START SLAVE IO_THREAD;
13include/wait_for_slave_io_to_start.inc
14connection master;
15create table t1 (a int primary key);
16connection slave;
17connection master;
18drop table t1;
19include/rpl_end.inc
20