1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00
two KILL versions
code trimming with headquarter's suggestions
This commit is contained in:
hf@deer.mysql.r18.ru
2003-04-08 19:18:33 +05:00
parent dcdc24b508
commit 0428d08606
17 changed files with 39 additions and 31 deletions

View File

@ -1658,7 +1658,7 @@ mysql_execute_command(THD *thd)
cursor)))
{
if (res < 0 || thd->net.report_error)
send_error(thd,thd->killed);
send_error(thd,thd->killed_errno());
DBUG_RETURN(res);
}
}
@ -3141,7 +3141,7 @@ mysql_execute_command(THD *thd)
// We end up here if res == 0 and send_ok() has been done,
// or res != 0 and no send_error() has yet been done.
if (res < 0)
send_error(thd,thd->killed);
send_error(thd,thd->killed_errno());
DBUG_RETURN(res);
error: