mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
Merge 5.5->mwl248
This commit is contained in:
@@ -3880,8 +3880,9 @@ end:
|
||||
/* Restore original LEX value, statement's arena and THD arena values. */
|
||||
lex_end(thd->lex);
|
||||
|
||||
if (i_s_arena.free_list)
|
||||
i_s_arena.free_items();
|
||||
// Free items, before restoring backup_arena below.
|
||||
DBUG_ASSERT(i_s_arena.free_list == NULL);
|
||||
thd->free_items();
|
||||
|
||||
/*
|
||||
For safety reset list of open temporary tables before closing
|
||||
|
||||
Reference in New Issue
Block a user