[Commits] 6444df4: This patch complements the patch for MDEV-24823.
revision-id: 6444df48565155122b9030b365eacf55e05f2261 (mariadb-10.2.31-891-g6444df4) parent(s): b3b5d57e78f835473d13d383caacb7320b5938d5 author: Igor Babaev committer: Igor Babaev timestamp: 2021-04-23 14:32:20 -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 61a3b4e..e2bf2d7 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;
participants (1)
-
IgorBabaev