diff options
author | hf@deer.(none) <> | 2005-07-07 20:28:47 +0500 |
---|---|---|
committer | hf@deer.(none) <> | 2005-07-07 20:28:47 +0500 |
commit | 3ddd2771d65ff10940894f89045c641b396466a4 (patch) | |
tree | 5ebfe0132e94da94f26e4581f7d983d2edd9adec /sql/item_func.h | |
parent | bf7515c302860c8adeab1d91006135ff6f77219f (diff) | |
download | mariadb-git-3ddd2771d65ff10940894f89045c641b396466a4.tar.gz |
Fix for bug #11708 (real function returns wrongly rounded decimal)
Diffstat (limited to 'sql/item_func.h')
-rw-r--r-- | sql/item_func.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/item_func.h b/sql/item_func.h index f6bc35e1617..3ca37b1961f 100644 --- a/sql/item_func.h +++ b/sql/item_func.h @@ -187,6 +187,7 @@ public: Item_real_func(Item *a,Item *b) :Item_func(a,b) {} Item_real_func(List<Item> &list) :Item_func(list) {} String *val_str(String*str); + my_decimal *val_decimal(my_decimal *decimal_value); longlong val_int() { DBUG_ASSERT(fixed == 1); return (longlong) val_real(); } enum Item_result result_type () const { return REAL_RESULT; } |