mirror of
https://github.com/php/php-src.git
synced 2024-12-13 20:05:26 +08:00
2fe2e5b48f
PDO driver constructors are throwing PdoException without setting errorInfo, so create a new reusable function that throws exceptions for PDO and will also set the errorInfo. Use this function in pdo_mysql, pdo_sqlite, and pdo_pgsql. |
||
---|---|---|
.. | ||
tests | ||
config.m4 | ||
config.w32 | ||
CREDITS | ||
get_error_codes.php | ||
mysql_driver.c | ||
mysql_statement.c | ||
pdo_mysql.c | ||
php_pdo_mysql_int.h | ||
php_pdo_mysql_sqlstate.h | ||
php_pdo_mysql.h |