Commit 489c4c66 authored by Oleksandr Byelkin's avatar Oleksandr Byelkin

cc

parent 1fbbaa07
......@@ -1004,7 +1004,9 @@ class sp_lex_cursor: public sp_lex_local
*/
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 @@ class sp_lex_cursor: public sp_lex_local
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;
}
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment