tony2001 Sun Sep 18 14:06:06 2005 EDT
Modified files: (Branch: PHP_5_1)
/php-src/ext/pdo pdo.c php_pdo_int.h
Log:
fix build (declare extern HashTable pdo_driver_hash)
http://cvs.php.net/diff.php/php-src/ext/pdo/pdo.c?r1=1.57.2.5&r2=1.57.2.6&ty=u
Index: php-src/ext/pdo/pdo.c
diff -u php-src/ext/pdo/pdo.c:1.57.2.5 php-src/ext/pdo/pdo.c:1.57.2.6
--- php-src/ext/pdo/pdo.c:1.57.2.5 Sun Sep 18 10:13:08 2005
+++ php-src/ext/pdo/pdo.c Sun Sep 18 14:05:58 2005
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: pdo.c,v 1.57.2.5 2005/09/18 14:13:08 wez Exp $ */
+/* $Id: pdo.c,v 1.57.2.6 2005/09/18 18:05:58 tony2001 Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -42,7 +42,7 @@
/* 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;
http://cvs.php.net/diff.php/php-src/ext/pdo/php_pdo_int.h?r1=1.17&r2=1.17.2.1&ty=u
Index: php-src/ext/pdo/php_pdo_int.h
diff -u php-src/ext/pdo/php_pdo_int.h:1.17
php-src/ext/pdo/php_pdo_int.h:1.17.2.1
--- php-src/ext/pdo/php_pdo_int.h:1.17 Sun Mar 20 19:29:06 2005
+++ php-src/ext/pdo/php_pdo_int.h Sun Sep 18 14:05:59 2005
@@ -18,10 +18,12 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php_pdo_int.h,v 1.17 2005/03/21 00:29:06 helly Exp $ */
+/* $Id: php_pdo_int.h,v 1.17.2.1 2005/09/18 18:05:59 tony2001 Exp $ */
/* 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);
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php