summaryrefslogtreecommitdiff
path: root/ext/pdo_odbc/pdo_odbc.c
diff options
context:
space:
mode:
authorWez Furlong <wez@php.net>2004-05-22 00:30:00 +0000
committerWez Furlong <wez@php.net>2004-05-22 00:30:00 +0000
commit8d9c384f7ff976ea0ec900a68e88712e00e44d42 (patch)
tree4ffa8a9babd06bf33af72ff245436ef28c45e04a /ext/pdo_odbc/pdo_odbc.c
parentb4ef3d186a6b60e118c63023b378935a007881e3 (diff)
downloadphp-git-8d9c384f7ff976ea0ec900a68e88712e00e44d42.tar.gz
Fix doer()
Implement error handling for ODBC
Diffstat (limited to 'ext/pdo_odbc/pdo_odbc.c')
-rwxr-xr-xext/pdo_odbc/pdo_odbc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/pdo_odbc/pdo_odbc.c b/ext/pdo_odbc/pdo_odbc.c
index 4564ac67e0..546c45ed04 100755
--- a/ext/pdo_odbc/pdo_odbc.c
+++ b/ext/pdo_odbc/pdo_odbc.c
@@ -68,6 +68,7 @@ ZEND_GET_MODULE(pdo_odbc)
PHP_MINIT_FUNCTION(pdo_odbc)
{
php_pdo_register_driver(&pdo_odbc_driver);
+ pdo_odbc_init_error_table();
return SUCCESS;
}
/* }}} */
@@ -77,6 +78,7 @@ PHP_MINIT_FUNCTION(pdo_odbc)
PHP_MSHUTDOWN_FUNCTION(pdo_odbc)
{
php_pdo_unregister_driver(&pdo_odbc_driver);
+ pdo_odbc_fini_error_table();
return SUCCESS;
}
/* }}} */