1
0
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:
Vladislav Vaintroub
2012-11-27 12:34:13 +01:00
parent 0f8450b2fb
commit 0497ecc2c8

View File

@ -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