bugfix: delayed insert table was using other table's expr_arena
This commit is contained in:
parent
0852cf534a
commit
a838b10466
@ -2451,6 +2451,7 @@ TABLE *Delayed_insert::get_local_table(THD* client_thd)
|
|||||||
goto error;
|
goto error;
|
||||||
dfield_ptr= copy->default_field;
|
dfield_ptr= copy->default_field;
|
||||||
}
|
}
|
||||||
|
copy->expr_arena= NULL;
|
||||||
|
|
||||||
/* Ensure we don't use the table list of the original table */
|
/* Ensure we don't use the table list of the original table */
|
||||||
copy->pos_in_table_list= 0;
|
copy->pos_in_table_list= 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user