summaryrefslogtreecommitdiff
path: root/sql/sql_lex.cc
diff options
context:
space:
mode:
authorunknown <igor@rurik.mysql.com>2005-11-13 17:56:20 -0800
committerunknown <igor@rurik.mysql.com>2005-11-13 17:56:20 -0800
commit2c748c3ef9980f5be1373fd5998349b9f63a9851 (patch)
tree284461e48d23194798480c65afd64354a9cec3f1 /sql/sql_lex.cc
parentb10c7d60bd46135760c59291415c49db6e8d8f71 (diff)
parentb5182e4b92bf9d4043b4ab65dedb46c14f54f6ba (diff)
downloadmariadb-git-2c748c3ef9980f5be1373fd5998349b9f63a9851.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_func.cc: Auto merged sql/sql_lex.cc: Auto merged sql/sql_lex.h: Auto merged sql/sql_parse.cc: Auto merged sql/sql_prepare.cc: Auto merged sql/sql_select.cc: Auto merged sql/sql_yacc.yy: Auto merged sql/mysql_priv.h: Manual merge
Diffstat (limited to 'sql/sql_lex.cc')
-rw-r--r--sql/sql_lex.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/sql/sql_lex.cc b/sql/sql_lex.cc
index a302db15736..98d6e3f9aba 100644
--- a/sql/sql_lex.cc
+++ b/sql/sql_lex.cc
@@ -182,6 +182,9 @@ void lex_start(THD *thd, uchar *buf,uint length)
lex->sroutines_list.empty();
lex->sroutines_list_own_last= lex->sroutines_list.next;
lex->sroutines_list_own_elements= 0;
+ lex->nest_level=0 ;
+ lex->allow_sum_func= 0;
+ lex->in_sum_func= NULL;
DBUG_VOID_RETURN;
}
@@ -1139,6 +1142,7 @@ void st_select_lex::init_query()
first_cond_optimization= 1;
parsing_place= NO_MATTER;
exclude_from_table_unique_test= no_wrap_view_item= FALSE;
+ nest_level= 0;
link_next= 0;
}
@@ -1158,6 +1162,7 @@ void st_select_lex::init_select()
interval_list.empty();
use_index.empty();
ftfunc_list_alloc.empty();
+ inner_sum_func_list= 0;
ftfunc_list= &ftfunc_list_alloc;
linkage= UNSPECIFIED_TYPE;
order_list.elements= 0;