1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

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

when looking for tables to delete from
This commit is contained in:
Sergei Golubchik
2012-01-13 13:54:55 +01:00
parent 45e25e3643
commit 6ca4ca7d37

View File

@ -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)
{