1
0
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:
unknown
2012-11-09 10:11:20 +02:00
139 changed files with 7882 additions and 996 deletions

View File

@ -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