diff options
author | igor@olga.mysql.com <> | 2007-04-29 20:14:35 -0700 |
---|---|---|
committer | igor@olga.mysql.com <> | 2007-04-29 20:14:35 -0700 |
commit | 2cf753a1e84e53f784eaa095058419faaa225855 (patch) | |
tree | ba142830fd4d957b693f85fcdddc66d6211ae5e0 /sql/item_func.h | |
parent | f9ac5b43ccff911c76fe1460eb1769dee8adf954 (diff) | |
download | mariadb-git-2cf753a1e84e53f784eaa095058419faaa225855.tar.gz |
Post-merge fix.
Diffstat (limited to 'sql/item_func.h')
-rw-r--r-- | sql/item_func.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/sql/item_func.h b/sql/item_func.h index cdf397c82ed..ec5d6bcda02 100644 --- a/sql/item_func.h +++ b/sql/item_func.h @@ -728,10 +728,14 @@ class Item_func_rollup_const :public Item_func { public: Item_func_rollup_const(Item *a) :Item_func(a) - { name= a->name; } - double val() { return args[0]->val(); } + { + name= a->name; + name_length= a->name_length; + } + double val_real() { return args[0]->val_real(); } longlong val_int() { return args[0]->val_int(); } String *val_str(String *str) { return args[0]->val_str(str); } + my_decimal *val_decimal(my_decimal *dec) { return args[0]->val_decimal(dec); } const char *func_name() const { return "rollup_const"; } bool const_item() const { return 0; } Item_result result_type() const { return args[0]->result_type(); } |