summaryrefslogtreecommitdiff
path: root/sql/sql_delete.cc
diff options
context:
space:
mode:
authorOleksandr Byelkin <sanja@mariadb.com>2018-07-05 17:49:44 +0200
committerOleksandr Byelkin <sanja@mariadb.com>2018-11-07 09:43:12 +0100
commit54b2e1c1bea357ca37ce537e24c6c120a43f5958 (patch)
tree07b598917c2cc55a34b1d368dd51fefab990058a /sql/sql_delete.cc
parent89a87e8e422bc342ed31764fa858898dabbf0be4 (diff)
downloadmariadb-git-54b2e1c1bea357ca37ce537e24c6c120a43f5958.tar.gz
MDEV-16697: Fix difference between 32bit/windows and 64bit systems in allowed select nest level
Diffstat (limited to 'sql/sql_delete.cc')
-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 fc400252397..6cf89ed09fc 100644
--- a/sql/sql_delete.cc
+++ b/sql/sql_delete.cc
@@ -936,7 +936,7 @@ int mysql_prepare_delete(THD *thd, TABLE_LIST *table_list,
List<Item> all_fields;
*delete_while_scanning= true;
- thd->lex->allow_sum_func= 0;
+ thd->lex->allow_sum_func.clear_all();
if (setup_tables_and_check_access(thd, &thd->lex->select_lex.context,
&thd->lex->select_lex.top_join_list,
table_list,