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-07 22:45:23 +0000
commitf2eadb93b9268bca86d3f67e8d8cf2fa2767a54d (patch)
tree56ac0c8b57b2e8487b8fc99984fb1f09be05ad4d /ext/mysqlnd/mysql_float_to_double.h
parent3f1d1892c9000b7485a11806821e33539a964b08 (diff)
downloadphp-git-f2eadb93b9268bca86d3f67e8d8cf2fa2767a54d.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