summaryrefslogtreecommitdiff
path: root/ext/mysqlnd/mysql_float_to_double.h
diff options
context:
space:
mode:
authorKeyur Govande <keyur@php.net>2015-01-06 06:33:38 +0000
committerKeyur Govande <keyur@php.net>2015-01-26 21:20:29 +0000
commitb34f8ef599ffd6111db68930cf015ce18d501f07 (patch)
tree0743ab1e8ce5c9f6bf1641a2399417c699b659bb /ext/mysqlnd/mysql_float_to_double.h
parent49cc1d4e84d65ea7dd728467f30f341c170a2524 (diff)
downloadphp-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