Commit d43731e2 authored by unknown's avatar unknown

Fixed an (unlikely) memory leak

parent 63791773
......@@ -1195,6 +1195,7 @@ bool mysql_make_view(THD *thd, File_parser *parser, TABLE_LIST *table)
end:
if (arena)
thd->restore_active_arena(arena, &backup);
lex_end(thd->lex);
thd->lex= old_lex;
DBUG_RETURN(result);
......
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