summaryrefslogtreecommitdiff
path: root/sql/sql_delete.cc
diff options
context:
space:
mode:
authorigor@rurik.mysql.com <>2005-10-15 14:32:37 -0700
committerigor@rurik.mysql.com <>2005-10-15 14:32:37 -0700
commitc136e9c43b0175e63c4ccfbf97fe6e1b2d94ad23 (patch)
tree5f5c67db9ee4935287f4852c5bc05fcc067ce082 /sql/sql_delete.cc
parenta5c5b2c65841827444ffe8878b900e6d2b3f5781 (diff)
downloadmariadb-git-c136e9c43b0175e63c4ccfbf97fe6e1b2d94ad23.tar.gz
Fixed bug #12762:
allowed set functions aggregated in outer subqueries, allowed nested set functions.
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 d9734b7cae8..824c68146a7 100644
--- a/sql/sql_delete.cc
+++ b/sql/sql_delete.cc
@@ -313,7 +313,7 @@ bool mysql_prepare_delete(THD *thd, TABLE_LIST *table_list, Item **conds)
SELECT_LEX *select_lex= &thd->lex->select_lex;
DBUG_ENTER("mysql_prepare_delete");
- thd->allow_sum_func= 0;
+ thd->lex->allow_sum_func= 0;
if (setup_tables(thd, &thd->lex->select_lex.context,
&thd->lex->select_lex.top_join_list,
table_list, conds, &select_lex->leaf_tables,