mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
fix regression in sp_notembedded after MDEV-3885
This commit is contained in:
@ -6717,7 +6717,7 @@ void sql_kill(THD *thd, ulong id, killed_state state)
|
||||
uint error;
|
||||
if (!(error= kill_one_thread(thd, id, state)))
|
||||
{
|
||||
if ((!thd->killed) || (thd->thread_id == id))
|
||||
if ((!thd->killed) || (thd->thread_id == id && thd->killed >= KILL_CONNECTION))
|
||||
my_ok(thd);
|
||||
}
|
||||
else
|
||||
|
Reference in New Issue
Block a user