1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +03:00

Backmerge of BUG#12997905

This commit is contained in:
Jorgen Loland
2011-11-18 14:47:11 +01:00
parent 4de17022c2
commit 4fc5752fb8
3 changed files with 21 additions and 1 deletions

View File

@@ -10647,6 +10647,9 @@ create_tmp_table(THD *thd,TMP_TABLE_PARAM *param,List<Item> &fields,
if (open_tmp_table(table))
goto err;
// Make empty record so random data is not written to disk
empty_record(table);
thd->mem_root= mem_root_save;
DBUG_RETURN(table);