tony2001 Wed Apr 12 13:37:51 2006 UTC
Modified files: (Branch: PHP_5_1)
/php-src/ext/oci8 oci8.c
/php-src NEWS
Log:
fix #37055 (incorrect reference counting for persistent OCI8 connections)
http://cvs.php.net/viewcvs.cgi/php-src/ext/oci8/oci8.c?r1=1.269.2.12&r2=1.269.2.13&diff_format=u
Index: php-src/ext/oci8/oci8.c
diff -u php-src/ext/oci8/oci8.c:1.269.2.12 php-src/ext/oci8/oci8.c:1.269.2.13
--- php-src/ext/oci8/oci8.c:1.269.2.12 Wed Mar 22 09:45:39 2006
+++ php-src/ext/oci8/oci8.c Wed Apr 12 13:37:51 2006
@@ -26,7 +26,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: oci8.c,v 1.269.2.12 2006/03/22 09:45:39 tony2001 Exp $ */
+/* $Id: oci8.c,v 1.269.2.13 2006/04/12 13:37:51 tony2001 Exp $ */
/* TODO
*
* file://localhost/www/docs/oci10/ociaahan.htm#423823 - implement lob_empty()
with OCI_ATTR_LOBEMPTY
@@ -645,7 +645,7 @@
php_info_print_table_start();
php_info_print_table_row(2, "OCI8 Support", "enabled");
- php_info_print_table_row(2, "Revision", "$Revision: 1.269.2.12 $");
+ php_info_print_table_row(2, "Revision", "$Revision: 1.269.2.13 $");
sprintf(buf, "%ld", OCI_G(num_persistent));
php_info_print_table_row(2, "Active Persistent Connections", buf);
@@ -1056,7 +1056,7 @@
/* okay, the connection
is open and the server is still alive */
connection->used_this_request = 1;
smart_str_free_ex(&hashed_details, 0);
- connection->rsrc_id =
zend_list_insert(connection, le_pconnection);
+
zend_list_addref(connection->rsrc_id);
return connection;
}
}
http://cvs.php.net/viewcvs.cgi/php-src/NEWS?r1=1.2027.2.507&r2=1.2027.2.508&diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.507 php-src/NEWS:1.2027.2.508
--- php-src/NEWS:1.2027.2.507 Wed Apr 12 12:49:39 2006
+++ php-src/NEWS Wed Apr 12 13:37:51 2006
@@ -1,6 +1,8 @@
PHP NEWS
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
?? Apr 2006, PHP 5.1.3
+- Fixed bug #37055 (incorrect reference counting for persistent OCI8
+ connections). (Tony)
- Fixed bug #37053 (html_errors with internal classes produces wrong links).
(Tony)
- Fixed bug #37046 (foreach breaks static scope). (Dmitry)
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php