cvs: php-src(PHP_5_0) /ext/oci8 oci8.c
| From: | Antony Dovgal | Date: | Sun, 10 Oct 2004 10:55:48 +0000 |
| Subject: | cvs: php-src(PHP_5_0) /ext/oci8 oci8.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-28945@lists.php.net to get a copy of this message | ||
tony2001 Sun Oct 10 06:55:48 2004 EDT
Modified files: (Branch: PHP_5_0)
/php-src/ext/oci8 oci8.c
Log:
MFH: prevent deadlocks when re-using previously established persistent connection
http://cvs.php.net/diff.php/php-src/ext/oci8/oci8.c?r1=1.257.2.1&r2=1.257.2.2&ty=u
Index: php-src/ext/oci8/oci8.c
diff -u php-src/ext/oci8/oci8.c:1.257.2.1 php-src/ext/oci8/oci8.c:1.257.2.2
--- php-src/ext/oci8/oci8.c:1.257.2.1 Wed Sep 29 02:43:29 2004
+++ php-src/ext/oci8/oci8.c Sun Oct 10 06:55:48 2004
@@ -22,7 +22,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: oci8.c,v 1.257.2.1 2004/09/29 06:43:29 tony2001 Exp $ */
+/* $Id: oci8.c,v 1.257.2.2 2004/10/10 10:55:48 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.257.2.1 $");
+ php_info_print_table_row(2, "Revision", "$Revision: 1.257.2.2 $");
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);