1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +03:00

References: lp:1066784 - Merged with MariaDB 5.5.28a

bzr merge -r tag:mariadb-5.5.28a lp:maria/5.5
...no conflicts
This commit is contained in:
Seppo Jaakola
2012-11-30 13:36:29 +02:00
133 changed files with 4960 additions and 582 deletions

View File

@ -7264,8 +7264,10 @@ void sql_kill(THD *thd, ulong id, killed_state state)
uint error;
if (!(error= kill_one_thread(thd, id, state)))
{
if (! thd->killed)
if ((!thd->killed))
my_ok(thd);
else
my_error(killed_errno(thd->killed), MYF(0), id);
}
else
my_error(error, MYF(0), id);