mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03:00
MDEV-16708: Fixed the failed test main.set_statement
This commit is contained in:
committed by
Sergei Golubchik
parent
b33111ba93
commit
a00b51f639
@@ -1041,7 +1041,7 @@ public:
|
||||
Query_arena(thd->lex->sphead->get_main_mem_root(), STMT_INITIALIZED_FOR_SP)
|
||||
{ }
|
||||
~sp_lex_cursor() { free_items(); }
|
||||
void cleanup_stmt() { }
|
||||
void cleanup_stmt(bool /*restore_set_statement_vars*/) { }
|
||||
Query_arena *query_arena() { return this; }
|
||||
bool validate()
|
||||
{
|
||||
@@ -1831,7 +1831,8 @@ public:
|
||||
cursor is closed. For now stored procedures always use materialized
|
||||
cursors and the call is not used.
|
||||
*/
|
||||
virtual void cleanup_stmt() { /* no op */ }
|
||||
virtual void cleanup_stmt(bool /*restore_set_statement_vars*/)
|
||||
{ /* no op */ }
|
||||
private:
|
||||
|
||||
sp_lex_keeper m_lex_keeper;
|
||||
|
Reference in New Issue
Block a user