mirror of
https://github.com/MariaDB/server.git
synced 2025-01-31 11:01:52 +01:00
Merge neptunus.(none):/home/msvensson/mysql/mysqltest_float_result/my50-mysqltest_float_result
into neptunus.(none):/home/msvensson/mysql/mysql-5.0
This commit is contained in:
commit
c9b7317ff9
1 changed files with 2 additions and 1 deletions
|
@ -3048,7 +3048,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 */
|
||||||
|
|
Loading…
Add table
Reference in a new issue