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.cc6
1 files changed, 0 insertions, 6 deletions
diff --git a/sql/sql_insert.cc b/sql/sql_insert.cc
index 41cc6ebf101..701ffe60cb3 100644
--- a/sql/sql_insert.cc
+++ b/sql/sql_insert.cc
@@ -1736,12 +1736,6 @@ bool mysql_insert_select_prepare(THD *thd)
DBUG_RETURN(TRUE);
/*
- setup was done in mysql_prepare_insert_check_table, but we have to mark
- first local table
- */
- if (first_select_table)
- first_select_table->setup_is_done= 1;
- /*
exclude first table from leaf tables list, because it belong to
INSERT
*/