mirror of
https://github.com/MariaDB/server.git
synced 2025-11-28 17:36:30 +03:00
- Added some extra command to rpl_start_stop to ensure that the IO thread has connected to the master before we shut down the server. - if signal returns signalhandler_t, use this with the alarm code - Added missing tests to sys_vars - Fixed some possible overflow bugs in tabxml.cpp
14 lines
408 B
Plaintext
14 lines
408 B
Plaintext
include/master-slave.inc
|
|
[connection master]
|
|
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;
|
|
create table t1 (a int primary key);
|
|
drop table t1;
|
|
include/rpl_end.inc
|