diff options
| author | Marko Mäkelä <marko.makela@mariadb.com> | 2022-03-29 11:13:18 +0300 |
|---|---|---|
| committer | Marko Mäkelä <marko.makela@mariadb.com> | 2022-03-29 11:13:18 +0300 |
| commit | ae6e214fd851a8a9d079494eec9903c89dd10fb2 (patch) | |
| tree | b206f873d02a5a2027671bb1cd900b77d1a3b820 /sql/sql_update.cc | |
| parent | 97f237e66dc58a617b6293d6a2624378333e8065 (diff) | |
| parent | 020e7d89ebdcded3355c82cec93e0abef2898258 (diff) | |
| download | mariadb-git-ae6e214fd851a8a9d079494eec9903c89dd10fb2.tar.gz | |
Merge 10.3 into 10.4
Diffstat (limited to 'sql/sql_update.cc')
| -rw-r--r-- | sql/sql_update.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sql/sql_update.cc b/sql/sql_update.cc index 59adeea5fbf..a05e17eb82f 100644 --- a/sql/sql_update.cc +++ b/sql/sql_update.cc @@ -2288,6 +2288,11 @@ multi_update::initialize_tables(JOIN *join) if (unlikely((thd->variables.option_bits & OPTION_SAFE_UPDATES) && error_if_full_join(join))) DBUG_RETURN(1); + if (join->implicit_grouping) + { + my_error(ER_INVALID_GROUP_FUNC_USE, MYF(0)); + DBUG_RETURN(1); + } main_table=join->join_tab->table; table_to_update= 0; |
