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.
This commit is contained in:
Nikita Popov 2020-12-11 16:35:03 +01:00
parent 7a89157f8c
commit ccb7f1c7d8
5 changed files with 69 additions and 4 deletions

View file

@ -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. */