mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 12:02:42 +01:00
Fix mutex order according to a new sequence.
This commit is contained in:
parent
eab7f5d8bc
commit
bb46b79c8c
1 changed files with 1 additions and 1 deletions
|
@ -9269,8 +9269,8 @@ static my_bool kill_threads_callback(THD *thd, kill_threads_callback_arg *arg)
|
|||
return 1;
|
||||
if (!arg->threads_to_kill.push_back(thd, arg->thd->mem_root))
|
||||
{
|
||||
mysql_mutex_lock(&thd->LOCK_thd_data);
|
||||
mysql_mutex_lock(&thd->LOCK_thd_kill); // Lock from delete
|
||||
mysql_mutex_lock(&thd->LOCK_thd_data);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue