diff options
Diffstat (limited to 'ext')
-rw-r--r-- | ext/pdo/pdo_sqlstate.c | 3 | ||||
-rwxr-xr-x | ext/pdo_mysql/mysql_driver.c | 1 |
2 files changed, 1 insertions, 3 deletions
diff --git a/ext/pdo/pdo_sqlstate.c b/ext/pdo/pdo_sqlstate.c index 64b8362db5..fb1ddae79e 100644 --- a/ext/pdo/pdo_sqlstate.c +++ b/ext/pdo/pdo_sqlstate.c @@ -151,8 +151,7 @@ static struct pdo_sqlstate_info err_initializer[] = { { "IM012", "DRIVER keyword syntax error" }, { "IM013", "Trace file error" }, { "IM014", "Invalid name of File DSN" }, - { "IM015", "Corrupt file data source" }, - { "PDDRV", "Nested unbuffered query, refer to driver error for details" } + { "IM015", "Corrupt file data source" } }; void pdo_sqlstate_fini_error_table(void) diff --git a/ext/pdo_mysql/mysql_driver.c b/ext/pdo_mysql/mysql_driver.c index 3300fa3358..8d15cf35a0 100755 --- a/ext/pdo_mysql/mysql_driver.c +++ b/ext/pdo_mysql/mysql_driver.c @@ -37,7 +37,6 @@ const char *pdo_mysql_get_sqlstate(unsigned int my_errno) { switch (my_errno) { /* import auto-generated case: code */ #include "php_pdo_mysql_sqlstate.h" - case 2014: return "PDDRV"; /* out of sync */ default: return "HY000"; } } |