diff options
author | Keyur Govande <keyur@php.net> | 2015-01-06 06:33:38 +0000 |
---|---|---|
committer | Keyur Govande <keyur@php.net> | 2015-01-26 21:20:29 +0000 |
commit | b34f8ef599ffd6111db68930cf015ce18d501f07 (patch) | |
tree | 0743ab1e8ce5c9f6bf1641a2399417c699b659bb /ext/mysqlnd/mysql_float_to_double.h | |
parent | 49cc1d4e84d65ea7dd728467f30f341c170a2524 (diff) | |
download | php-git-b34f8ef599ffd6111db68930cf015ce18d501f07.tar.gz |
Fix for bugs #68114 (Build fails on OS X due to undefined symbols)
and #68657 (Reading 4 byte floats with Mysqli and libmysqlclient
has rounding errors).
The patch removes support for Decimal floating point numbers and
now defaults to using similar logic as what libmysqlclient does:
convert a 4 byte floating point number into a string, and then the
string into a double. The quirks of MySQL are maintained as seen in
Field_Float::val_str()
Diffstat (limited to 'ext/mysqlnd/mysql_float_to_double.h')
0 files changed, 0 insertions, 0 deletions