diff options
author | Sergei Golubchik <sergii@pisem.net> | 2012-01-13 13:54:55 +0100 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2012-01-13 13:54:55 +0100 |
commit | 6ca4ca7d37fed3b3da18666768de6a2f8c34bc7b (patch) | |
tree | abbee051ab0721e8acd6948810361c503a7975ca | |
parent | 45e25e3643779f4da28c8da2e7e2cdf7a1f92f5c (diff) | |
download | mariadb-git-6ca4ca7d37fed3b3da18666768de6a2f8c34bc7b.tar.gz |
multi-delete should ignore semi-join internal temp tables,
when looking for tables to delete from
-rw-r--r-- | sql/sql_delete.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_delete.cc b/sql/sql_delete.cc index 722b6f7478f..3ce375190a7 100644 --- a/sql/sql_delete.cc +++ b/sql/sql_delete.cc @@ -715,7 +715,7 @@ multi_delete::initialize_tables(JOIN *join) for (JOIN_TAB *tab= first_linear_tab(join, WITH_CONST_TABLES); tab; - tab= next_linear_tab(join, tab, WITH_BUSH_ROOTS)) + tab= next_linear_tab(join, tab, WITHOUT_BUSH_ROOTS)) { if (tab->table->map & tables_to_delete_from) { |