cvs: php-src /ext/oci8 oci8.c
| From: | Antony Dovgal | Date: | Sun, 10 Oct 2004 10:54:29 +0000 |
| Subject: | cvs: php-src /ext/oci8 oci8.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-28944@lists.php.net to get a copy of this message | ||
tony2001 Sun Oct 10 06:54:29 2004 EDT
Modified files:
/php-src/ext/oci8 oci8.c
Log:
prevent deadlocks when re-using previously established persistent connection
http://cvs.php.net/diff.php/php-src/ext/oci8/oci8.c?r1=1.260&r2=1.261&ty=u
Index: php-src/ext/oci8/oci8.c
diff -u php-src/ext/oci8/oci8.c:1.260 php-src/ext/oci8/oci8.c:1.261
--- php-src/ext/oci8/oci8.c:1.260 Tue Sep 28 12:59:10 2004
+++ php-src/ext/oci8/oci8.c Sun Oct 10 06:54:26 2004
@@ -22,7 +22,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: oci8.c,v 1.260 2004/09/28 16:59:10 tony2001 Exp $ */
+/* $Id: oci8.c,v 1.261 2004/10/10 10:54:26 tony2001 Exp $ */
/* TODO list:
*
@@ -786,7 +786,7 @@
php_info_print_table_start();
php_info_print_table_row(2, "OCI8 Support", "enabled");
- php_info_print_table_row(2, "Revision", "$Revision: 1.260 $");
+ php_info_print_table_row(2, "Revision", "$Revision: 1.261 $");
sprintf(buf, "%ld", num_persistent);
php_info_print_table_row(2, "Active Persistent Links", buf);
@@ -2700,6 +2700,7 @@
session->persistent = 1;
}
smart_str_free_ex(&hashed_details, 1);
+ mutex_unlock(mx_lock);
return session;
} else {
_oci_close_session(session);