summaryrefslogtreecommitdiff
path: root/ext/pdo/pdo.c
diff options
context:
space:
mode:
authorFelipe Pena <felipe@php.net>2009-07-19 22:46:03 +0000
committerFelipe Pena <felipe@php.net>2009-07-19 22:46:03 +0000
commit9f8ff2f96861a230dfb4e50a393411bba8c8940e (patch)
tree8d6b9ecc884fcfb6d41c4c1b882b9b723130fad1 /ext/pdo/pdo.c
parenta0e5576f231399bd6a74f866f5504c639e557561 (diff)
downloadphp-git-9f8ff2f96861a230dfb4e50a393411bba8c8940e.tar.gz
- Revert my mistake
Diffstat (limited to 'ext/pdo/pdo.c')
-rwxr-xr-xext/pdo/pdo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/pdo/pdo.c b/ext/pdo/pdo.c
index 11ff8889f9..3ecc46e14a 100755
--- a/ext/pdo/pdo.c
+++ b/ext/pdo/pdo.c
@@ -185,7 +185,7 @@ PDO_API int php_pdo_register_driver(pdo_driver_t *driver)
driver->driver_name, driver->api_version, PDO_DRIVER_API);
return FAILURE;
}
- if (!zend_hash_exists(&module_registry, "PDO", sizeof("PDO"))) {
+ if (!zend_hash_exists(&module_registry, "pdo", sizeof("pdo"))) {
zend_error(E_ERROR, "You MUST load PDO before loading any PDO drivers");
return FAILURE; /* NOTREACHED */
}
@@ -196,7 +196,7 @@ PDO_API int php_pdo_register_driver(pdo_driver_t *driver)
PDO_API void php_pdo_unregister_driver(pdo_driver_t *driver)
{
- if (!zend_hash_exists(&module_registry, "PDO", sizeof("PDO"))) {
+ if (!zend_hash_exists(&module_registry, "pdo", sizeof("pdo"))) {
return;
}