com php-src: fix the comment text: ext/mysqlnd/mysqlnd_ps_c odec.c
| From: | Anatol Belski | Date: | Tue, 04 Feb 2014 17:09:22 +0000 |
| Subject: | com php-src: fix the comment text: ext/mysqlnd/mysqlnd_ps_c odec.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-75898@lists.php.net to get a copy of this message | ||
Commit: 1f8153a5336ed340ca9b6f4fcac8aa03829e5bd7
Author: Anatol Belski <ab@php.net> Tue, 4 Feb 2014 18:09:22 +0100
Parents: be7934b91b3f692da889708dc99923e811c7693a
Branches: str_size_and_int64
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=1f8153a5336ed340ca9b6f4fcac8aa03829e5bd7
Log:
fix the comment text
Changed paths:
M ext/mysqlnd/mysqlnd_ps_codec.c
Diff:
diff --git a/ext/mysqlnd/mysqlnd_ps_codec.c b/ext/mysqlnd/mysqlnd_ps_codec.c
index 8ad1c76..cea361c 100644
--- a/ext/mysqlnd/mysqlnd_ps_codec.c
+++ b/ext/mysqlnd/mysqlnd_ps_codec.c
@@ -582,7 +582,7 @@ mysqlnd_stmt_execute_prepare_param_types(MYSQLND_STMT_DATA * stmt, zval *** copi
copies = *copies_param;
/*
if it doesn't fit in a long send it as a string.
- Check bug #52891 : Wrong data inserted with mysqli/mysqlnd when using bind_param, value >
PHP_INT_MAX
+ Check bug #52891 : Wrong data inserted with mysqli/mysqlnd when using bind_param, value >
LONG_MAX
*/
if (Z_TYPE_P(stmt->param_bind[i].zv) != IS_INT) {
zval *tmp_data = (copies && copies[i])? copies[i]: stmt->param_bind[i].zv;
@@ -600,7 +600,7 @@ mysqlnd_stmt_execute_prepare_param_types(MYSQLND_STMT_DATA * stmt, zval *** copi
/*
if it doesn't fit in a long send it as a string.
- Check bug #52891 : Wrong data inserted with mysqli/mysqlnd when using bind_param, value >
PHP_INT_MAX
+ Check bug #52891 : Wrong data inserted with mysqli/mysqlnd when using bind_param, value >
LONG_MAX
We do transformation here, which will be used later when sending types. The code later relies
on this.
*/
if (Z_DVAL_P(tmp_data_copy) > PHP_INT_MAX || Z_DVAL_P(tmp_data_copy) < PHP_INT_MIN) {