Commit 8a9fd599 authored by kaa@polly.local's avatar kaa@polly.local

Merge polly.local:/home/kaa/src/maint/mysql-5.0-maint

into  polly.local:/home/kaa/src/maint/mysql-5.1-maint
parents da4dd3c3 0dc78d39
...@@ -244,8 +244,8 @@ double my_strtod(const char *str, char **end_ptr, int *error) ...@@ -244,8 +244,8 @@ double my_strtod(const char *str, char **end_ptr, int *error)
else else
step= array_elements(log_10) - 1; step= array_elements(log_10) - 1;
for (; exponent > step; exponent-= step) for (; exponent > step; exponent-= step)
result*= neg_exp ? log_01[step] : log_10[step]; result= neg_exp ? result / log_10[step] : result * log_10[step];
result*= neg_exp ? log_01[exponent] : log_10[exponent]; result= neg_exp ? result / log_10[exponent] : result * log_10[exponent];
} }
done: done:
......
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