summaryrefslogtreecommitdiff
path: root/sql/sql_insert.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/sql_insert.cc')
-rw-r--r--sql/sql_insert.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_insert.cc b/sql/sql_insert.cc
index b747c706f75..dc5db54e128 100644
--- a/sql/sql_insert.cc
+++ b/sql/sql_insert.cc
@@ -2254,7 +2254,7 @@ pthread_handler_t handle_delayed_insert(void *arg)
}
/* open table */
- if (!(di->table=open_ltable(thd,&di->table_list,TL_WRITE_DELAYED)))
+ if (!(di->table=open_ltable(thd, &di->table_list, TL_WRITE_DELAYED, 0)))
{
thd->fatal_error(); // Abort waiting inserts
goto err;