summaryrefslogtreecommitdiff
path: root/sql/item_uniq.h
diff options
context:
space:
mode:
authorkonstantin@mysql.com <>2004-11-11 21:39:35 +0300
committerkonstantin@mysql.com <>2004-11-11 21:39:35 +0300
commite5f4c7a0bd35ec81928b15664dcad53d5aba56e3 (patch)
treed65c1d25b2742712e5c398191b3e7eb40d0692e6 /sql/item_uniq.h
parentea97ce50b97b32bb6135ad7aa6d487630bdcfa84 (diff)
downloadmariadb-git-e5f4c7a0bd35ec81928b15664dcad53d5aba56e3.tar.gz
Rename: Item::val -> Item::val_real().
Diffstat (limited to 'sql/item_uniq.h')
-rw-r--r--sql/item_uniq.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/item_uniq.h b/sql/item_uniq.h
index 5582537bdbb..d21e2e2a619 100644
--- a/sql/item_uniq.h
+++ b/sql/item_uniq.h
@@ -27,7 +27,7 @@ class Item_func_unique_users :public Item_real_func
public:
Item_func_unique_users(Item *name_arg,int start,int end,List<Item> &list)
:Item_real_func(list) {}
- double val() { DBUG_ASSERT(fixed == 1); return 0.0; }
+ double val_real() { DBUG_ASSERT(fixed == 1); return 0.0; }
void fix_length_and_dec() { decimals=0; max_length=6; }
void print(String *str) { str->append("0.0", 3); }
};
@@ -40,7 +40,7 @@ public:
:Item_sum_num(item_arg) {}
Item_sum_unique_users(THD *thd, Item_sum_unique_users *item)
:Item_sum_num(thd, item) {}
- double val() { DBUG_ASSERT(fixed == 1); return 0.0; }
+ double val_real() { DBUG_ASSERT(fixed == 1); return 0.0; }
enum Sumfunctype sum_func () const {return UNIQUE_USERS_FUNC;}
void clear() {}
bool add() { return 0; }