cvs: php-src(PHP_5_0) /ext/oci8 oci8.c
| From: | Antony Dovgal | Date: | Wed, 29 Sep 2004 06:43:29 +0000 |
| Subject: | cvs: php-src(PHP_5_0) /ext/oci8 oci8.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-28825@lists.php.net to get a copy of this message | ||
tony2001 Wed Sep 29 02:43:29 2004 EDT
Modified files: (Branch: PHP_5_0)
/php-src/ext/oci8 oci8.c
Log:
MFH: fix bug #29652
http://cvs.php.net/diff.php/php-src/ext/oci8/oci8.c?r1=1.257&r2=1.257.2.1&ty=u
Index: php-src/ext/oci8/oci8.c
diff -u php-src/ext/oci8/oci8.c:1.257 php-src/ext/oci8/oci8.c:1.257.2.1
--- php-src/ext/oci8/oci8.c:1.257 Thu Jul 15 07:00:14 2004
+++ php-src/ext/oci8/oci8.c Wed Sep 29 02:43:29 2004
@@ -22,7 +22,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: oci8.c,v 1.257 2004/07/15 11:00:14 tony2001 Exp $ */
+/* $Id: oci8.c,v 1.257.2.1 2004/09/29 06:43:29 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 $");
+ php_info_print_table_row(2, "Revision", "$Revision: 1.257.2.1 $");
sprintf(buf, "%ld", num_persistent);
php_info_print_table_row(2, "Active Persistent Links", buf);
@@ -3008,6 +3008,16 @@
num_persistent--;
}
mutex_unlock(mx_lock);
+
+#ifdef HAVE_OCI_9_2
+ /* free environment handle (and fix bug #29652 with growing .msb FD number under weirdie
Solarises) */
+ CALL_OCI(
+ OCIHandleFree(
+ (dvoid *) session->pEnv,
+ OCI_HTYPE_ENV
+ )
+ );
+#endif
if (session->exclusive) {
efree(session);