diff options
author | unknown <tsmith@quadxeon.mysql.com> | 2007-05-01 18:12:04 +0200 |
---|---|---|
committer | unknown <tsmith@quadxeon.mysql.com> | 2007-05-01 18:12:04 +0200 |
commit | dc9b20a60301040cfc3801703f4799c5e60477a3 (patch) | |
tree | e068de92f3f81a2e6ee7f047617547c148454474 /sql/item_func.h | |
parent | 5352b41d29bf3a0ca37d64acfa61527a4944812d (diff) | |
parent | f827425712cb7cf2afdb729365615554582411c2 (diff) | |
download | mariadb-git-dc9b20a60301040cfc3801703f4799c5e60477a3.tar.gz |
Merge quadxeon.mysql.com:/benchmarks/ext3/TOSAVE/tsmith/bk/50
into quadxeon.mysql.com:/benchmarks/ext3/TOSAVE/tsmith/bk/maint/50
sql/item_func.h:
Auto merged
Diffstat (limited to 'sql/item_func.h')
-rw-r--r-- | sql/item_func.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/sql/item_func.h b/sql/item_func.h index ec5d6bcda02..2d70f57d0e9 100644 --- a/sql/item_func.h +++ b/sql/item_func.h @@ -278,7 +278,7 @@ public: { max_length= 21; } Item_int_func(List<Item> &list) :Item_func(list) { max_length= 21; } Item_int_func(THD *thd, Item_int_func *item) :Item_func(thd, item) {} - double val_real() { DBUG_ASSERT(fixed == 1); return (double) val_int(); } + double val_real(); String *val_str(String*str); enum Item_result result_type () const { return INT_RESULT; } void fix_length_and_dec() {} @@ -303,12 +303,6 @@ class Item_func_signed :public Item_int_func public: Item_func_signed(Item *a) :Item_int_func(a) {} const char *func_name() const { return "cast_as_signed"; } - double val_real() - { - double tmp= args[0]->val_real(); - null_value= args[0]->null_value; - return tmp; - } longlong val_int(); longlong val_int_from_str(int *error); void fix_length_and_dec() |