mirror of
https://github.com/MariaDB/server.git
synced 2025-08-09 22:24:09 +03:00
debug_sync: ignore "sort" kills and disconnects
only "hard" kills will now interrupt debug_sync waits. this is needed to have debug_sync points that work during disconnect
This commit is contained in:
@@ -1467,7 +1467,7 @@ static void debug_sync_execute(THD *thd, st_debug_sync_action *action)
|
||||
the required dynamic memory allocated.
|
||||
*/
|
||||
while (stringcmp(&debug_sync_global.ds_signal, &action->wait_for) &&
|
||||
!thd->killed && opt_debug_sync_timeout)
|
||||
!(thd->killed & KILL_HARD_BIT) && opt_debug_sync_timeout)
|
||||
{
|
||||
error= mysql_cond_timedwait(&debug_sync_global.ds_cond,
|
||||
&debug_sync_global.ds_mutex,
|
||||
|
Reference in New Issue
Block a user