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