summaryrefslogtreecommitdiff
path: root/sql/item_sum.h
diff options
context:
space:
mode:
authorbell@sanja.is.com.ua <>2004-06-10 10:59:55 +0300
committerbell@sanja.is.com.ua <>2004-06-10 10:59:55 +0300
commitba82b9e7d5e3b0975569e605ce982e2d7df1fc8b (patch)
tree843e4e7d10f5b0100a82cd522e1a21416d20f204 /sql/item_sum.h
parentaa3c80fb7d1e22f080209f06e6c7d31ed3c85237 (diff)
downloadmariadb-git-ba82b9e7d5e3b0975569e605ce982e2d7df1fc8b.tar.gz
cleunup() of count() and max()/min() added (BUG#2687)
Diffstat (limited to 'sql/item_sum.h')
-rw-r--r--sql/item_sum.h2
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();
};