summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorunknown <ram@gw.mysql.r18.ru>2004-04-09 19:08:13 +0500
committerunknown <ram@gw.mysql.r18.ru>2004-04-09 19:08:13 +0500
commitdc51624d1fb86e274e733fc5d2a126bd0bd681ce (patch)
tree103c9859bd6de13b6f064fa27169b3ee72b3f230 /sql
parent9afbd246ef4eaf054bd3ffec22d5225a8d4c5134 (diff)
parent5dcbf248a0a0e23ec9461793fcfb3a201a17b61a (diff)
downloadmariadb-git-dc51624d1fb86e274e733fc5d2a126bd0bd681ce.tar.gz
Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-4.0
into gw.mysql.r18.ru:/usr/home/ram/work/4.0.b3376
Diffstat (limited to 'sql')
-rw-r--r--sql/item_sum.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/item_sum.h b/sql/item_sum.h
index d3a328be032..6835b1e8fae 100644
--- a/sql/item_sum.h
+++ b/sql/item_sum.h
@@ -249,6 +249,7 @@ class Item_sum_avg :public Item_sum_num
void update_field();
Item *result_item(Field *field)
{ return new Item_avg_field(this); }
+ void no_rows_in_result() {}
const char *func_name() const { return "avg"; }
unsigned int size_of() { return sizeof(*this);}
};