diff options
author | igor@olga.mysql.com <> | 2007-06-30 20:49:28 -0700 |
---|---|---|
committer | igor@olga.mysql.com <> | 2007-06-30 20:49:28 -0700 |
commit | 259fdbf9ca330d6242cff277bc14871b16aeabb2 (patch) | |
tree | ed6bbc6971d75074b67617c9c71dbae1f71a8996 /sql/item_subselect.cc | |
parent | fdf2d7c24fa5dfb2c0603ae19782bc306b720ae9 (diff) | |
parent | 38deea24964e1acf0920f8dee1a4442531d3ed80 (diff) | |
download | mariadb-git-259fdbf9ca330d6242cff277bc14871b16aeabb2.tar.gz |
Merge olga.mysql.com:/home/igor/mysql-5.0-opt
into olga.mysql.com:/home/igor/dev-opt/mysql-5.1-opt
Diffstat (limited to 'sql/item_subselect.cc')
-rw-r--r-- | sql/item_subselect.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/item_subselect.cc b/sql/item_subselect.cc index 000abb313a0..1d042860d73 100644 --- a/sql/item_subselect.cc +++ b/sql/item_subselect.cc @@ -985,7 +985,8 @@ Item_in_subselect::single_value_transformer(JOIN *join, DBUG_RETURN(RES_ERROR); thd->lex->allow_sum_func= save_allow_sum_func; /* we added aggregate function => we have to change statistic */ - count_field_types(&join->tmp_table_param, join->all_fields, 0); + count_field_types(select_lex, &join->tmp_table_param, join->all_fields, + 0); subs= new Item_singlerow_subselect(select_lex); } |