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.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/sql/sp_head.h b/sql/sp_head.h
index af93edb976a..800db97a8c1 100644
--- a/sql/sp_head.h
+++ b/sql/sp_head.h
@@ -1004,7 +1004,9 @@ public:
*/
sp_lex_cursor(THD *thd, const LEX *oldlex)
:sp_lex_local(thd, oldlex)
- { }
+ {
+ mem_root->name= "CURSOR lex";
+ }
~sp_lex_cursor() { }
void cleanup_stmt() { }
Query_arena *query_arena() { return this; }
@@ -1023,8 +1025,8 @@ public:
if (validate())
return true;
sp_lex_in_use= true;
- free_list= thd->free_list;
- thd->free_list= NULL;
+ //free_list= thd->free_list;
+ //thd->free_list= NULL;
return false;
}
};