diff --git a/sql/sql_insert.cc b/sql/sql_insert.cc index 7c0c1b68a2b..ef17c3f1f10 100644 --- a/sql/sql_insert.cc +++ b/sql/sql_insert.cc @@ -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;