mirror of
https://github.com/MariaDB/server.git
synced 2025-01-26 00:34:18 +01:00
17 lines
482 B
Text
17 lines
482 B
Text
include/master-slave.inc
|
|
[connection master]
|
|
connection slave;
|
|
set @time_before_kill := (select CURRENT_TIMESTAMP);
|
|
[Time before the query]
|
|
[Connection ID of the slave I/O thread found]
|
|
kill <connection_id>;
|
|
set @time_after_kill := (select CURRENT_TIMESTAMP);
|
|
[Time after the query]
|
|
[Killing of the slave IO thread was successful]
|
|
START SLAVE IO_THREAD;
|
|
connection master;
|
|
create table t1 (a int primary key);
|
|
connection slave;
|
|
connection master;
|
|
drop table t1;
|
|
include/rpl_end.inc
|