Merge branch '10.5' into 10.6

This commit is contained in:
Sergei Golubchik 2022-09-30 12:29:24 +02:00
commit 194cc36805
19 changed files with 600 additions and 557 deletions

View file

@ -1475,7 +1475,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,