diff options
-rw-r--r-- | sql/sql_select.cc | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/sql/sql_select.cc b/sql/sql_select.cc index 5c216a44d70..97ccf16ddd3 100644 --- a/sql/sql_select.cc +++ b/sql/sql_select.cc @@ -7196,15 +7196,8 @@ void JOIN::cleanup(bool full) } } } - /* - We are not using tables anymore - Unlock all tables. We may be in an INSERT .... SELECT statement. - */ if (full) { - if (tmp_join) - tmp_table_param.copy_field= 0; - /* Ensure that the following delete_elements() would not be called twice for the same list. |