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