Commit 06da7519 authored by msvensson@neptunus.(none)'s avatar msvensson@neptunus.(none)

Merge neptunus.(none):/home/msvensson/mysql/mysqltest_float_result/my51-mysqltest_float_result

into  neptunus.(none):/home/msvensson/mysql/mysql-5.1
parents dadc0ffc 5e31bff3
...@@ -3635,7 +3635,8 @@ static void append_field(DYNAMIC_STRING *ds, uint col_idx, MYSQL_FIELD* field, ...@@ -3635,7 +3635,8 @@ static void append_field(DYNAMIC_STRING *ds, uint col_idx, MYSQL_FIELD* field,
len= 4; len= 4;
} }
#ifdef __WIN__ #ifdef __WIN__
else if (field->type == MYSQL_TYPE_DOUBLE && else if ((field->type == MYSQL_TYPE_DOUBLE ||
field->type == MYSQL_TYPE_FLOAT ) &&
field->decimals >= 31) field->decimals >= 31)
{ {
/* Convert 1.2e+018 to 1.2e+18 and 1.2e-018 to 1.2e-18 */ /* Convert 1.2e+018 to 1.2e+18 and 1.2e-018 to 1.2e-18 */
......
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