summaryrefslogtreecommitdiff
path: root/sql/sp_head.h
diff options
context:
space:
mode:
Diffstat (limited to 'sql/sp_head.h')
-rw-r--r--sql/sp_head.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sql/sp_head.h b/sql/sp_head.h
index 34dd09fd88f..601d41ab04a 100644
--- a/sql/sp_head.h
+++ b/sql/sp_head.h
@@ -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;