1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +03:00

Post-merge fixes (adapting new SP code to 4.1 changes).

This commit is contained in:
pem@mysql.com
2003-02-18 19:58:03 +01:00
parent 97dc6a528e
commit 02211a600b
4 changed files with 18 additions and 5 deletions

View File

@@ -2982,13 +2982,17 @@ mysql_execute_command(THD *thd)
}
else
{
#ifndef EMBEDDED_LIBRARY
// When executing substatements, they're assumed to send_error when
// it happens, but not to send_ok.
my_bool nsok= thd->net.no_send_ok;
thd->net.no_send_ok= TRUE;
#endif
res= sp->execute(thd);
#ifndef EMBEDDED_LIBRARY
thd->net.no_send_ok= nsok;
#endif
if (res == 0)
send_ok(thd);