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:
@ -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();
|
||||
|
Reference in New Issue
Block a user