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

PS and SP made compatible in mechanism used for preparing query for rexecutions (Bug #2266)

This commit is contained in:
bell@sanja.is.com.ua
2004-05-20 02:02:49 +03:00
parent 9620715679
commit c7396f8d20
22 changed files with 306 additions and 275 deletions

View File

@@ -4182,12 +4182,14 @@ void mysql_parse(THD *thd, char *inBuf, uint length)
query_cache_end_of_result(thd);
}
}
lex->unit.cleanup();
}
else
{
DBUG_PRINT("info",("Command aborted. Fatal_error: %d",
thd->is_fatal_error));
query_cache_abort(&thd->net);
lex->unit.cleanup();
if (thd->lex->sphead)
{
/* Clean up after failed stored procedure/function */