diff options
Diffstat (limited to 'sql/sql_insert.cc')
-rw-r--r-- | sql/sql_insert.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/sql_insert.cc b/sql/sql_insert.cc index 488826acd70..8d36a763b90 100644 --- a/sql/sql_insert.cc +++ b/sql/sql_insert.cc @@ -2867,6 +2867,8 @@ pthread_handler_t handle_delayed_insert(void *arg) /* Tell client that the thread is initialized */ mysql_cond_signal(&di->cond_client); + di->table->mark_columns_needed_for_insert(); + /* Now wait until we get an insert or lock to handle */ /* We will not abort as long as a client thread uses this thread */ |