bugfix: delayed insert table was using other table's expr_arena

This commit is contained in:
Sergei Golubchik 2016-11-08 09:24:23 +01:00
parent 0852cf534a
commit a838b10466

View File

@ -2451,6 +2451,7 @@ TABLE *Delayed_insert::get_local_table(THD* client_thd)
goto error;
dfield_ptr= copy->default_field;
}
copy->expr_arena= NULL;
/* Ensure we don't use the table list of the original table */
copy->pos_in_table_list= 0;