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:
@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user