diff options
author | Igor Babaev <igor@askmonty.org> | 2021-04-23 14:32:20 -0700 |
---|---|---|
committer | Igor Babaev <igor@askmonty.org> | 2021-04-23 14:32:59 -0700 |
commit | 1288dfffe77a99d6c5906d12010a1677ee149308 (patch) | |
tree | 81ec8ac6d3a28963ac5b4395271399bfc1e84dac | |
parent | 42f8548ff6aed90439c94a388399e54afc871886 (diff) | |
download | mariadb-git-1288dfffe77a99d6c5906d12010a1677ee149308.tar.gz |
This patch complements the patch for MDEV-24823.
-rw-r--r-- | sql/sql_delete.cc | 2 |
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; |