diff options
author | Keyur Govande <keyur@php.net> | 2015-01-07 21:13:57 +0000 |
---|---|---|
committer | Keyur Govande <keyur@php.net> | 2015-01-07 22:45:23 +0000 |
commit | 3062cf1b4210763e50a0ade556af968af48a1f72 (patch) | |
tree | c77d02d0a49870daeb2323b8285ff3404fdd3349 /ext/mysqlnd/mysqlnd_ps_codec.c | |
parent | f2eadb93b9268bca86d3f67e8d8cf2fa2767a54d (diff) | |
download | php-git-3062cf1b4210763e50a0ade556af968af48a1f72.tar.gz |
Patch commit d9f85373e32 by moving the float_to_double function to
a header file.
Diffstat (limited to 'ext/mysqlnd/mysqlnd_ps_codec.c')
-rw-r--r-- | ext/mysqlnd/mysqlnd_ps_codec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/mysqlnd/mysqlnd_ps_codec.c b/ext/mysqlnd/mysqlnd_ps_codec.c index 58b18b2ec9..5105d1628a 100644 --- a/ext/mysqlnd/mysqlnd_ps_codec.c +++ b/ext/mysqlnd/mysqlnd_ps_codec.c @@ -24,7 +24,7 @@ #include "mysqlnd_wireprotocol.h" #include "mysqlnd_priv.h" #include "mysqlnd_debug.h" -#include "ext/standard/float_to_double.h" +#include "ext/mysqlnd/mysql_float_to_double.h" #define MYSQLND_SILENT @@ -186,7 +186,7 @@ ps_fetch_float(zval * zv, const MYSQLND_FIELD * const field, unsigned int pack_l # define NOT_FIXED_DEC 31 #endif - dval = float_to_double(fval, (field->decimals >= NOT_FIXED_DEC) ? -1 : field->decimals); + dval = mysql_float_to_double(fval, (field->decimals >= NOT_FIXED_DEC) ? -1 : field->decimals); ZVAL_DOUBLE(zv, dval); DBG_VOID_RETURN; |