]> granicus.if.org Git - php/commit
Fixed bug #79131
authorNikita Popov <nikita.ppv@gmail.com>
Thu, 10 Dec 2020 14:51:17 +0000 (15:51 +0100)
committerNikita Popov <nikita.ppv@gmail.com>
Thu, 10 Dec 2020 14:53:23 +0000 (15:53 +0100)
commit15b51a215ac08fa72aa6ea44755f7134710f9004
tree3d0889e9df957283e4d4d785a68505243f73a3c9
parentdde5572937e8165abac5fbaa2c4fbb85d7e391b2
Fixed bug #79131

When a driver reports an error during EVT_ALLOC (and some over EVTs),
make sure we handle it as usual, i.e. warn or throw.

This requires some adjustments in PDO PgSQL to stop manually doing
this through an impl error.

Unfortunately the PDO PgSQL error messages regress because of this,
as they now include a completely arbitrary error code. There doesn't
seem to be an ability to skip it right now.
NEWS
ext/pdo/pdo_stmt.c
ext/pdo_mysql/tests/pdo_mysql_prepare_emulated_anonymous.phpt
ext/pdo_mysql/tests/pdo_mysql_prepare_native_named_placeholder.phpt
ext/pdo_pgsql/pgsql_statement.c
ext/pdo_pgsql/php_pdo_pgsql_int.h
ext/pdo_pgsql/tests/bug36727.phpt
ext/pdo_pgsql/tests/bug69344.phpt
ext/pdo_pgsql/tests/bug71573.phpt