diff options
author | tsmith@maint2.mysql.com <> | 2006-09-13 09:03:52 +0200 |
---|---|---|
committer | tsmith@maint2.mysql.com <> | 2006-09-13 09:03:52 +0200 |
commit | 6a31ec2cadb56ca70acffc30a706fbcae614181f (patch) | |
tree | f08cbab5b66362c84b62621037950058412d7f9b /sql/sql_lex.h | |
parent | a1c4a48b7e2bc72526019b78c31291c1072565c3 (diff) | |
parent | e38f04a09f3c5fbc261273cb50bbf06434830fa3 (diff) | |
download | mariadb-git-6a31ec2cadb56ca70acffc30a706fbcae614181f.tar.gz |
Merge maint2.mysql.com:/data/localhome/tsmith/bk/mrg50/50
into maint2.mysql.com:/data/localhome/tsmith/bk/mrg50/51
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 ce0af39a041..64426dd45d6 100644 --- a/sql/sql_lex.h +++ b/sql/sql_lex.h @@ -575,6 +575,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; /* @@ -667,7 +673,7 @@ public: bool test_limit(); friend void lex_start(THD *thd, const 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(); |