Commit 6ca4ca7d authored by Sergei Golubchik's avatar Sergei Golubchik

multi-delete should ignore semi-join internal temp tables,

when looking for tables to delete from
parent 45e25e36
...@@ -715,7 +715,7 @@ multi_delete::initialize_tables(JOIN *join) ...@@ -715,7 +715,7 @@ multi_delete::initialize_tables(JOIN *join)
for (JOIN_TAB *tab= first_linear_tab(join, WITH_CONST_TABLES); for (JOIN_TAB *tab= first_linear_tab(join, WITH_CONST_TABLES);
tab; 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) if (tab->table->map & tables_to_delete_from)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment