mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
Merge MariaDB 5.1.66 -> 5.2 -> 5.3
This commit is contained in:
@ -3906,8 +3906,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