mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
untested changes to close socket on slave stop for OS's that do not
interrupt I/O after thr_alarm_kill() test case for order by desc coredump
This commit is contained in:
@ -572,6 +572,9 @@ int stop_slave(THD* thd, bool net_report )
|
||||
{
|
||||
abort_slave = 1;
|
||||
thr_alarm_kill(slave_real_id);
|
||||
#ifdef STOP_IO_WITH_FD_CLOSE
|
||||
slave_thd->close_active_fd();
|
||||
#endif
|
||||
// do not abort the slave in the middle of a query, so we do not set
|
||||
// thd->killed for the slave thread
|
||||
thd->proc_info = "waiting for slave to die";
|
||||
|
Reference in New Issue
Block a user