diff options
author | bar@bar.mysql.r18.ru <> | 2002-12-09 15:58:33 +0400 |
---|---|---|
committer | bar@bar.mysql.r18.ru <> | 2002-12-09 15:58:33 +0400 |
commit | 59069e60f232b8b9d2177e9ecb1ab38c1d6d5670 (patch) | |
tree | b47e144a2aca3d058bb85b19778d565fb79b9e72 /sql | |
parent | 632dff01d1c5683a935e6487398061c92efe36a4 (diff) | |
download | mariadb-git-59069e60f232b8b9d2177e9ecb1ab38c1d6d5670.tar.gz |
More use of new str->num conversion routines
Diffstat (limited to 'sql')
-rw-r--r-- | sql/item.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/item.cc b/sql/item.cc index 568ad74a631..5e74820a3f8 100644 --- a/sql/item.cc +++ b/sql/item.cc @@ -382,7 +382,7 @@ double Item_param::val() { switch (item_result_type) { case STRING_RESULT: - return (double)atof(str_value.ptr()); + return (double)my_strntod(str_value.charset(),str_value.ptr(),str_value.length(),(char**)0); case INT_RESULT: return (double)int_value; default: |