diff options
author | unknown <msvensson@neptunus.(none)> | 2006-09-04 11:39:58 +0200 |
---|---|---|
committer | unknown <msvensson@neptunus.(none)> | 2006-09-04 11:39:58 +0200 |
commit | 259689f87f787a99c28a16026096be8feb43917b (patch) | |
tree | 2f274201cf4e71a67a4784565729438e314b9da0 /sql/sql_lex.h | |
parent | 3dd1ef7bb6eec7db070d3b8917b5146aac60f59c (diff) | |
parent | efa8e33075d13f4a96f8d4659134f905e71a9f1a (diff) | |
download | mariadb-git-259689f87f787a99c28a16026096be8feb43917b.tar.gz |
Merge bk-internal:/home/bk/mysql-5.0-opt
into neptunus.(none):/home/msvensson/mysql/mysql-5.0
sql/sql_lex.cc:
Auto merged
sql/sql_lex.h:
Auto merged
sql/sql_yacc.yy:
Auto merged
Diffstat (limited to 'sql/sql_lex.h')
-rw-r--r-- | sql/sql_lex.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sql/sql_lex.h b/sql/sql_lex.h index ebc02e93813..2e19c54cbfe 100644 --- a/sql/sql_lex.h +++ b/sql/sql_lex.h @@ -548,6 +548,12 @@ public: bool braces; /* SELECT ... UNION (SELECT ... ) <- this braces */ /* TRUE when having fix field called in processing of this SELECT */ bool having_fix_field; + + /* Number of Item_sum-derived objects in this SELECT */ + uint n_sum_items; + /* Number of Item_sum-derived objects in children and descendant SELECTs */ + uint n_child_sum_items; + /* explicit LIMIT clause was used */ bool explicit_limit; /* @@ -640,7 +646,7 @@ public: bool test_limit(); friend void lex_start(THD *thd, uchar *buf, uint length); - st_select_lex() {} + st_select_lex() : n_sum_items(0), n_child_sum_items(0) {} void make_empty_select() { init_query(); |