summaryrefslogtreecommitdiff
path: root/sql/item.h
diff options
context:
space:
mode:
authorunknown <serg@serg.mylan>2004-02-13 15:27:21 +0100
committerunknown <serg@serg.mylan>2004-02-13 15:27:21 +0100
commit1515c12191bcb50c49512475a72c04a47c963a07 (patch)
treee72eb3285c6d77bd43ee040603595ce715626551 /sql/item.h
parentc5bc73e9a7d2f4ed2c7602fc6a028e227c08b9f4 (diff)
downloadmariadb-git-1515c12191bcb50c49512475a72c04a47c963a07.tar.gz
my_atof is deleted
strtod from mit-threads is restored and cleaned up BitKeeper/deleted/.del-atof.c~d3edf47a9884080: Delete: strings/atof.c configure.in: atod() is no longer used in MySQL isinf() now is include/m_string.h: my_strtod, my_atof include/my_global.h: my_atof is deleted define isinf() libmysql/Makefile.shared: use internal strtod sql/gstream.cc: use internal strtod sql/init.cc: my_atof is deleted sql/item.h: use internal strtod sql/item_func.cc: use internal strtod sql/item_sum.h: use internal strtod sql/sql_analyse.cc: use internal strtod strings/Makefile.am: use internal strtod strings/ctype-simple.c: use internal strtod strings/ctype-ucs2.c: use internal strtod strings/strtod.c: cleanup stricter input checks (e.g. ".E10" is no longer a number) don't return an "inf"
Diffstat (limited to 'sql/item.h')
-rw-r--r--sql/item.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/item.h b/sql/item.h
index 7b5c506079d..6487c8d8391 100644
--- a/sql/item.h
+++ b/sql/item.h
@@ -441,7 +441,7 @@ class Item_real :public Item
public:
const double value;
// Item_real() :value(0) {}
- Item_real(const char *str_arg,uint length) :value(atof(str_arg))
+ Item_real(const char *str_arg,uint length) :value(my_atof(str_arg))
{
name=(char*) str_arg;
decimals=(uint8) nr_of_decimals(str_arg);