diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2020-12-08 16:58:30 +0100 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2020-12-09 10:30:23 +0100 |
commit | 311a77d08e56ec79540615610e414d6b0ec321c7 (patch) | |
tree | dc9d1beb28f2a079001b3f09fc1ff0c498e1baa1 /ext/pdo_mysql/mysql_statement.c | |
parent | 2df09b9b64ed30c8d999538d1747d511ffd0af9c (diff) | |
download | php-git-311a77d08e56ec79540615610e414d6b0ec321c7.tar.gz |
Handle changing column count in mysqlnd result binding
If the count changes from prepare to execute and result_bind is
alreadly allocated, reallocate it there.
This is something of a hack. It would be cleaner to require that
result bindings are registered only after execute, when the final
result set fields are known. But mysqli at least directly exposes
this to the user, so we have no guarantee.
Diffstat (limited to 'ext/pdo_mysql/mysql_statement.c')
0 files changed, 0 insertions, 0 deletions