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/standard/config.m4 | |
| 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/standard/config.m4')
| -rw-r--r-- | ext/standard/config.m4 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/standard/config.m4 b/ext/standard/config.m4 index 3d00d88dda..807f5f0b44 100644 --- a/ext/standard/config.m4 +++ b/ext/standard/config.m4 @@ -603,7 +603,8 @@ PHP_NEW_EXTENSION(standard, array.c base64.c basic_functions.c browscap.c crc32. incomplete_class.c url_scanner_ex.c ftp_fopen_wrapper.c \ http_fopen_wrapper.c php_fopen_wrapper.c credits.c css.c \ var_unserializer.c ftok.c sha1.c user_filters.c uuencode.c \ - filters.c proc_open.c streamsfuncs.c http.c password.c) + filters.c proc_open.c streamsfuncs.c http.c password.c \ + float_to_double.c) PHP_ADD_MAKEFILE_FRAGMENT PHP_INSTALL_HEADERS([ext/standard/]) |
