diff options
author | unknown <bell@sanja.is.com.ua> | 2003-07-29 13:00:32 +0300 |
---|---|---|
committer | unknown <bell@sanja.is.com.ua> | 2003-07-29 13:00:32 +0300 |
commit | 0792c1c8243d8b340a343586d0ea6bb8427691f6 (patch) | |
tree | 1da6fe8bf71777fc1964c8c397daf062b19f9d0c /sql/sql_lex.cc | |
parent | 329e063774537c14348a46c162afec79fc94d589 (diff) | |
download | mariadb-git-0792c1c8243d8b340a343586d0ea6bb8427691f6.tar.gz |
count HAVING clause elements with select list elements, because agregate function can be present in it (BUG#922)
removerd unused loop_id
mysql-test/r/subselect.result:
test of BUG#922
mysql-test/t/subselect.test:
test of BUG#922
sql/item.cc:
removerd unused loop_id
we need count HAVING clause elements, because agregate function can be present in it
sql/item.h:
removerd unused loop_id
sql/item_subselect.cc:
new name of field
sql/sql_derived.cc:
new name of field
sql/sql_lex.cc:
new name of field
sql/sql_lex.h:
new name of field
sql/sql_select.cc:
new name of field
sql/sql_union.cc:
new name of field
Diffstat (limited to 'sql/sql_lex.cc')
-rw-r--r-- | sql/sql_lex.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_lex.cc b/sql/sql_lex.cc index 16ebd758639..cc163dc3757 100644 --- a/sql/sql_lex.cc +++ b/sql/sql_lex.cc @@ -959,7 +959,7 @@ void st_select_lex_node::init_select() order_list.next= (byte**) &order_list.first; select_limit= HA_POS_ERROR; offset_limit= 0; - select_items= 0; + select_n_having_items= 0; with_sum_func= 0; parsing_place= SELECT_LEX_NODE::NO_MATTER; } |