diff options
author | unknown <bell@sanja.is.com.ua> | 2004-06-10 10:59:55 +0300 |
---|---|---|
committer | unknown <bell@sanja.is.com.ua> | 2004-06-10 10:59:55 +0300 |
commit | 8e6b48f808882e0586beb09259c329729f475015 (patch) | |
tree | 843e4e7d10f5b0100a82cd522e1a21416d20f204 /sql/item_sum.h | |
parent | 350ad5003e90c4129a69937afaf7d87b828a506c (diff) | |
download | mariadb-git-8e6b48f808882e0586beb09259c329729f475015.tar.gz |
cleunup() of count() and max()/min() added (BUG#2687)
mysql-test/r/func_group.result:
test of optimized aggregate function re-execution
mysql-test/t/func_group.test:
test of optimized aggregate function re-execution
sql/item_sum.cc:
cleunup() added
sql/item_sum.h:
cleunup() added
Diffstat (limited to 'sql/item_sum.h')
-rw-r--r-- | sql/item_sum.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/item_sum.h b/sql/item_sum.h index ef947900fd2..be8bb28e16b 100644 --- a/sql/item_sum.h +++ b/sql/item_sum.h @@ -172,6 +172,7 @@ class Item_sum_count :public Item_sum_int void make_const(longlong count_arg) { count=count_arg; used_table_cache=0; } longlong val_int(); void reset_field(); + void cleanup(); void update_field(); const char *func_name() const { return "count"; } Item *copy_or_same(THD* thd); @@ -428,6 +429,7 @@ class Item_sum_hybrid :public Item_sum void min_max_update_str_field(); void min_max_update_real_field(); void min_max_update_int_field(); + void cleanup(); }; |