diff options
author | msvensson@neptunus.(none) <> | 2006-09-04 11:39:58 +0200 |
---|---|---|
committer | msvensson@neptunus.(none) <> | 2006-09-04 11:39:58 +0200 |
commit | 1fd3958ea667f71c92a5d3d777097878d2bad3e9 (patch) | |
tree | 2f274201cf4e71a67a4784565729438e314b9da0 /sql/sql_lex.cc | |
parent | d253cf7813cddd37c3f14bc4510e99a2bdf0b5ec (diff) | |
parent | 55163a36f08558856000a72825356be228f58685 (diff) | |
download | mariadb-git-1fd3958ea667f71c92a5d3d777097878d2bad3e9.tar.gz |
Merge bk-internal:/home/bk/mysql-5.0-opt
into neptunus.(none):/home/msvensson/mysql/mysql-5.0
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; } |