summaryrefslogtreecommitdiff
path: root/sql/item_sum.h
diff options
context:
space:
mode:
authorserg@serg.mylan <>2004-02-13 15:27:21 +0100
committerserg@serg.mylan <>2004-02-13 15:27:21 +0100
commit5914e5705c62e065d52754d2e33f7224398d3e0e (patch)
treee72eb3285c6d77bd43ee040603595ce715626551 /sql/item_sum.h
parent67fbc4d2b70ffeab70d547a59e2d9af05c8e3d41 (diff)
downloadmariadb-git-5914e5705c62e065d52754d2e33f7224398d3e0e.tar.gz
my_atof is deleted
strtod from mit-threads is restored and cleaned up
Diffstat (limited to 'sql/item_sum.h')
-rw-r--r--sql/item_sum.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/item_sum.h b/sql/item_sum.h
index dc84e4d4ab7..1435128af33 100644
--- a/sql/item_sum.h
+++ b/sql/item_sum.h
@@ -735,7 +735,7 @@ class Item_func_group_concat : public Item_sum
enum Sumfunctype sum_func () const {return GROUP_CONCAT_FUNC;}
const char *func_name() const { return "group_concat"; }
- enum Type type() const { return SUM_FUNC_ITEM; }
+ enum Type type() const { return SUM_FUNC_ITEM; }
virtual Item_result result_type () const { return STRING_RESULT; }
void clear();
bool add();
@@ -747,7 +747,7 @@ class Item_func_group_concat : public Item_sum
double val()
{
String *res; res=val_str(&str_value);
- return res ? atof(res->c_ptr()) : 0.0;
+ return res ? my_atof(res->c_ptr()) : 0.0;
}
longlong val_int()
{