diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2005-06-27 14:52:46 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2005-06-27 14:52:46 +0000 |
commit | fb7c1f05616f322c08fbcba128dfeebdcae0ccab (patch) | |
tree | 8532f2c7a3976109b41b33fe4989c59fa28920e2 | |
parent | 8eb44394cbf4cb73e72b7ed9b07308309c7d35fc (diff) | |
download | php-git-fb7c1f05616f322c08fbcba128dfeebdcae0ccab.tar.gz |
Remove "custom" PDDRV sqlstate.
-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"; } } |