summaryrefslogtreecommitdiff
path: root/sql/item.h
diff options
context:
space:
mode:
Diffstat (limited to 'sql/item.h')
-rw-r--r--sql/item.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/sql/item.h b/sql/item.h
index 8094a2a10d7..71db03ad687 100644
--- a/sql/item.h
+++ b/sql/item.h
@@ -707,13 +707,7 @@ class Item_real :public Item_num
public:
double value;
// Item_real() :value(0) {}
- Item_real(const char *str_arg, uint length) :value(my_atof(str_arg))
- {
- presentation= name=(char*) str_arg;
- decimals=(uint8) nr_of_decimals(str_arg);
- max_length=length;
- fixed= 1;
- }
+ Item_real(const char *str_arg, uint length);
Item_real(const char *str,double val_arg,uint decimal_par,uint length)
:value(val_arg)
{