tony2001 Tue Sep 28 13:28:27 2004 EDT
Modified files: (Branch: PHP_4_3)
/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.183.2.13&r2=1.183.2.14&ty=u
Index: php-src/ext/oci8/oci8.c
diff -u php-src/ext/oci8/oci8.c:1.183.2.13 php-src/ext/oci8/oci8.c:1.183.2.14
--- php-src/ext/oci8/oci8.c:1.183.2.13 Mon Jul 12 03:42:41 2004
+++ php-src/ext/oci8/oci8.c Tue Sep 28 13:28:27 2004
@@ -21,7 +21,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: oci8.c,v 1.183.2.13 2004/07/12 07:42:41 tony2001 Exp $ */
+/* $Id: oci8.c,v 1.183.2.14 2004/09/28 17:28:27 tony2001 Exp $ */
/* TODO list:
*
@@ -641,7 +641,7 @@
php_info_print_table_start();
php_info_print_table_row(2, "OCI8 Support", "enabled");
- php_info_print_table_row(2, "Revision", "$Revision: 1.183.2.13 $");
+ php_info_print_table_row(2, "Revision", "$Revision: 1.183.2.14 $");
#ifndef PHP_WIN32
php_info_print_table_row(2, "Oracle Version", PHP_OCI8_VERSION );
php_info_print_table_row(2, "Compile-time ORACLE_HOME", PHP_OCI8_DIR );
@@ -2467,6 +2467,13 @@
(ub4) OCI_HTYPE_SESSION));
}
+#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
+
hashed_details = session->hashed_details;
if (! OCI(shutdown)) {
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php