summaryrefslogtreecommitdiff
path: root/ext/pdo_mysql/php_pdo_mysql_int.h
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2020-12-11 16:35:03 +0100
committerNikita Popov <nikita.ppv@gmail.com>2020-12-11 16:35:03 +0100
commitccb7f1c7d8518dc4548273a5acd578c57d47cc0c (patch)
treea1397038e119cefbd4ee7d3358f4e0b76b892edb /ext/pdo_mysql/php_pdo_mysql_int.h
parent7a89157f8c440bccdd0317c1f460d2a916c5896c (diff)
downloadphp-git-ccb7f1c7d8518dc4548273a5acd578c57d47cc0c.tar.gz
Fixed bug #79132
Following cmb's suggestion and replacing the counter with a check against the bound_params HT, which ensures that both cannot go out of sync.
Diffstat (limited to 'ext/pdo_mysql/php_pdo_mysql_int.h')
-rw-r--r--ext/pdo_mysql/php_pdo_mysql_int.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/ext/pdo_mysql/php_pdo_mysql_int.h b/ext/pdo_mysql/php_pdo_mysql_int.h
index fe7f149d84..553437829e 100644
--- a/ext/pdo_mysql/php_pdo_mysql_int.h
+++ b/ext/pdo_mysql/php_pdo_mysql_int.h
@@ -141,7 +141,6 @@ typedef struct {
PDO_MYSQL_PARAM_BIND *bound_result;
my_bool *out_null;
zend_ulong *out_length;
- unsigned int params_given;
unsigned max_length:1;
/* Whether all result sets have been fully consumed.
* If this flag is not set, they need to be consumed during destruction. */