1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Simple changes during review of code

Added back flag that I accidently removed in last patch
This commit is contained in:
monty@mysql.com
2005-10-08 00:57:40 +03:00
parent 78e828d32f
commit f577ebb88f
3 changed files with 37 additions and 61 deletions

View File

@ -2792,6 +2792,8 @@ bool Prepared_statement::execute(String *expanded_query, bool open_cursor)
my_error(ER_PS_NO_RECURSION, MYF(0));
return 1;
}
/* In case the command has a call to SP which re-uses this statement name */
flags|= (uint) IS_IN_USE;
if (cursor && cursor->is_open())
close_cursor();