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.cc | |
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.cc')
-rw-r--r-- | sql/sql_lex.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sql/sql_lex.cc b/sql/sql_lex.cc index 2f0bcd09d14..43aeea2bf53 100644 --- a/sql/sql_lex.cc +++ b/sql/sql_lex.cc @@ -1524,10 +1524,10 @@ bool st_select_lex::setup_ref_array(THD *thd, uint order_group_num) */ Query_arena *arena= thd->stmt_arena; return (ref_pointer_array= - (Item **)arena->alloc(sizeof(Item*) * - (item_list.elements + - select_n_having_items + - order_group_num)* 5)) == 0; + (Item **)arena->alloc(sizeof(Item*) * (n_child_sum_items + + item_list.elements + + select_n_having_items + + order_group_num)*5)) == 0; } |