summaryrefslogtreecommitdiff
path: root/ext/pdo_mysql/mysql_statement.c
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2020-12-08 16:58:30 +0100
committerNikita Popov <nikita.ppv@gmail.com>2020-12-09 10:30:23 +0100
commit311a77d08e56ec79540615610e414d6b0ec321c7 (patch)
treedc9d1beb28f2a079001b3f09fc1ff0c498e1baa1 /ext/pdo_mysql/mysql_statement.c
parent2df09b9b64ed30c8d999538d1747d511ffd0af9c (diff)
downloadphp-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