[Commits] 7f0dbe1: This patch complements the patch for MDEV-24823.
revision-id: 7f0dbe128e50a04b0b5ee93639a620335c7ffce4 (mariadb-10.3.26-137-g7f0dbe1) parent(s): e3a25793be936d9682a711a00d6b4bf708b6fb8d author: Igor Babaev committer: Igor Babaev timestamp: 2021-04-23 22:58:29 -0700 message: This patch complements the patch for MDEV-24823. --- sql/sql_delete.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql/sql_delete.cc b/sql/sql_delete.cc index c78e8ed..4d6a2c6 100644 --- a/sql/sql_delete.cc +++ b/sql/sql_delete.cc @@ -1013,7 +1013,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;
participants (1)
-
IgorBabaev