diff options
author | gluh@mysql.com/eagle.(none) <> | 2007-02-26 16:57:45 +0400 |
---|---|---|
committer | gluh@mysql.com/eagle.(none) <> | 2007-02-26 16:57:45 +0400 |
commit | e8635ad3cb1e934a5214913f52e48e87df980122 (patch) | |
tree | ce94fd69807e8bbcf533f566abc9f22a2a3a72cf /sql/sql_lex.cc | |
parent | 01ea1aa44d4d1ab0abb288f8b6b4627c19a052c9 (diff) | |
parent | d9831e91a19c46aa5e373b682e26ca23bc048c40 (diff) | |
download | mariadb-git-e8635ad3cb1e934a5214913f52e48e87df980122.tar.gz |
Merge mysql.com:/home/gluh/MySQL/Merge/5.0
into mysql.com:/home/gluh/MySQL/Merge/5.0-opt
Diffstat (limited to 'sql/sql_lex.cc')
-rw-r--r-- | sql/sql_lex.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/sql_lex.cc b/sql/sql_lex.cc index 1a7675c394e..cd4d2e85316 100644 --- a/sql/sql_lex.cc +++ b/sql/sql_lex.cc @@ -1153,6 +1153,7 @@ void st_select_lex::init_query() cond_count= between_count= with_wild= 0; conds_processed_with_permanent_arena= 0; ref_pointer_array= 0; + select_n_where_fields= 0; select_n_having_items= 0; subquery_in_having= explicit_limit= 0; is_item_list_lookup= 0; @@ -1194,6 +1195,7 @@ void st_select_lex::init_select() is_correlated= 0; cur_pos_in_select_list= UNDEF_POS; non_agg_fields.empty(); + inner_refs_list.empty(); } /* @@ -1551,6 +1553,7 @@ bool st_select_lex::setup_ref_array(THD *thd, uint order_group_num) (Item **)arena->alloc(sizeof(Item*) * (n_child_sum_items + item_list.elements + select_n_having_items + + select_n_where_fields + order_group_num)*5)) == 0; } |