mariadb/mysql-test/suite/rpl/r/rpl_start_stop_slave.result

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