Commit 1288dfff authored by Igor Babaev's avatar Igor Babaev

This patch complements the patch for MDEV-24823.

parent 42f8548f
...@@ -845,7 +845,7 @@ int mysql_multi_delete_prepare(THD *thd) ...@@ -845,7 +845,7 @@ int mysql_multi_delete_prepare(THD *thd)
Multi-delete can't be constructed over-union => we always have Multi-delete can't be constructed over-union => we always have
single SELECT on top and have to check underlying SELECTs of it single SELECT on top and have to check underlying SELECTs of it
*/ */
lex->select_lex.exclude_from_table_unique_test= TRUE; lex->select_lex.set_unique_exclude();
/* Fix tables-to-be-deleted-from list to point at opened tables */ /* Fix tables-to-be-deleted-from list to point at opened tables */
for (target_tbl= (TABLE_LIST*) aux_tables; for (target_tbl= (TABLE_LIST*) aux_tables;
target_tbl; target_tbl;
......
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