Skip to content

Commit a838b10

Browse files
committed
bugfix: delayed insert table was using other table's expr_arena
1 parent 0852cf5 commit a838b10

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sql/sql_insert.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2451,6 +2451,7 @@ TABLE *Delayed_insert::get_local_table(THD* client_thd)
24512451
goto error;
24522452
dfield_ptr= copy->default_field;
24532453
}
2454+
copy->expr_arena= NULL;
24542455

24552456
/* Ensure we don't use the table list of the original table */
24562457
copy->pos_in_table_list= 0;

0 commit comments

Comments
 (0)