summaryrefslogtreecommitdiff
path: root/sql/sql_delete.cc
diff options
context:
space:
mode:
authorunknown <igor@rurik.mysql.com>2005-10-22 19:35:37 -0700
committerunknown <igor@rurik.mysql.com>2005-10-22 19:35:37 -0700
commitcd49e32407dcc88a86a26b4c8720afd9ef99b7dd (patch)
treeebe3a32ff819aa215d075626945538fd5178dbf5 /sql/sql_delete.cc
parentd29ecd5e91adf6eaeb4f2afef0db30648fe08065 (diff)
parent8a84dd7e7f9d699c84d2ed52fe6189f01e6d0ce6 (diff)
downloadmariadb-git-cd49e32407dcc88a86a26b4c8720afd9ef99b7dd.tar.gz
Merge rurik.mysql.com:/home/igor/mysql-5.0
into rurik.mysql.com:/home/igor/dev/mysql-5.0-2 sql/item.cc: Auto merged sql/item.h: Auto merged sql/item_cmpfunc.cc: Auto merged sql/item_func.cc: Auto merged sql/mysql_priv.h: Auto merged sql/sql_class.cc: Auto merged sql/sql_delete.cc: Auto merged sql/sql_lex.cc: Auto merged sql/sql_lex.h: Auto merged sql/sql_parse.cc: Auto merged sql/sql_update.cc: Auto merged sql/sql_yacc.yy: Auto merged
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 83f50ba3ac5..e0b9e2b9c37 100644
--- a/sql/sql_delete.cc
+++ b/sql/sql_delete.cc
@@ -331,7 +331,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,