Commit a838b104 authored by Sergei Golubchik's avatar Sergei Golubchik

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

parent 0852cf53
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment