diff options
-rwxr-xr-x | ext/pdo/pdo.c | 2 | ||||
-rwxr-xr-x | ext/pdo/php_pdo_int.h | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/ext/pdo/pdo.c b/ext/pdo/pdo.c index 6cbc92175e..a58f3fd47e 100755 --- a/ext/pdo/pdo.c +++ b/ext/pdo/pdo.c @@ -42,7 +42,7 @@ ZEND_DECLARE_MODULE_GLOBALS(pdo) /* True global resources - no need for thread safety here */ /* the registry of PDO drivers */ -static HashTable pdo_driver_hash; +HashTable pdo_driver_hash; /* we use persistent resources for the driver connection stuff */ static int le_ppdo; diff --git a/ext/pdo/php_pdo_int.h b/ext/pdo/php_pdo_int.h index 82ccf3826f..f202df16fe 100755 --- a/ext/pdo/php_pdo_int.h +++ b/ext/pdo/php_pdo_int.h @@ -22,6 +22,8 @@ /* Stuff private to the PDO extension and not for consumption by PDO drivers * */ + +extern HashTable pdo_driver_hash; extern zend_class_entry *pdo_exception_ce; int php_pdo_list_entry(void); |