Commit 97a15876 authored by unknown's avatar unknown

More use of new str->num conversion routines

parent 8ae15f94
...@@ -382,7 +382,7 @@ double Item_param::val() ...@@ -382,7 +382,7 @@ double Item_param::val()
{ {
switch (item_result_type) { switch (item_result_type) {
case STRING_RESULT: 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: case INT_RESULT:
return (double)int_value; return (double)int_value;
default: default:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment