From ccb7f1c7d8518dc4548273a5acd578c57d47cc0c Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Fri, 11 Dec 2020 16:35:03 +0100 Subject: 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. --- ext/pdo_mysql/php_pdo_mysql_int.h | 1 - 1 file changed, 1 deletion(-) (limited to 'ext/pdo_mysql/php_pdo_mysql_int.h') 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. */ -- cgit v1.2.1