summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Babaev <igor@askmonty.org>2021-04-23 14:32:20 -0700
committerIgor Babaev <igor@askmonty.org>2021-04-23 14:32:59 -0700
commit1288dfffe77a99d6c5906d12010a1677ee149308 (patch)
tree81ec8ac6d3a28963ac5b4395271399bfc1e84dac
parent42f8548ff6aed90439c94a388399e54afc871886 (diff)
downloadmariadb-git-1288dfffe77a99d6c5906d12010a1677ee149308.tar.gz
This patch complements the patch for MDEV-24823.
-rw-r--r--sql/sql_delete.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_delete.cc b/sql/sql_delete.cc
index 61a3b4e8e75..e2bf2d727b1 100644
--- a/sql/sql_delete.cc
+++ b/sql/sql_delete.cc
@@ -845,7 +845,7 @@ int mysql_multi_delete_prepare(THD *thd)
Multi-delete can't be constructed over-union => we always have
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 */
for (target_tbl= (TABLE_LIST*) aux_tables;
target_tbl;