sixd Fri Jan 18 16:03:51 2008 UTC
Modified files: (Branch: PHP_5_3)
/php-src/ext/oci8 oci8.c
Log:
MFH: Add ifdef
http://cvs.php.net/viewvc.cgi/php-src/ext/oci8/oci8.c?r1=1.269.2.16.2.38.2.4&r2=1.269.2.16.2.38.2.5&diff_format=u
Index: php-src/ext/oci8/oci8.c
diff -u php-src/ext/oci8/oci8.c:1.269.2.16.2.38.2.4
php-src/ext/oci8/oci8.c:1.269.2.16.2.38.2.5
--- php-src/ext/oci8/oci8.c:1.269.2.16.2.38.2.4 Tue Jan 15 20:44:31 2008
+++ php-src/ext/oci8/oci8.c Fri Jan 18 16:03:51 2008
@@ -26,7 +26,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: oci8.c,v 1.269.2.16.2.38.2.4 2008/01/15 20:44:31 sixd Exp $ */
+/* $Id: oci8.c,v 1.269.2.16.2.38.2.5 2008/01/18 16:03:51 sixd Exp $ */
/* TODO
*
* file://localhost/www/docs/oci10/ociaahan.htm#423823 - implement lob_empty()
with OCI_ATTR_LOBEMPTY
@@ -674,7 +674,7 @@
php_info_print_table_start();
php_info_print_table_row(2, "OCI8 Support", "enabled");
php_info_print_table_row(2, "Version", "1.2.4");
- php_info_print_table_row(2, "Revision", "$Revision: 1.269.2.16.2.38.2.4
$");
+ php_info_print_table_row(2, "Revision", "$Revision: 1.269.2.16.2.38.2.5
$");
snprintf(buf, sizeof(buf), "%ld", OCI_G(num_persistent));
php_info_print_table_row(2, "Active Persistent Connections", buf);
@@ -1636,7 +1636,9 @@
/* PHP_OCI_RETURN_LOBS means that we want the content
of the LOB back instead of the locator */
lob_fetch_status = php_oci_lob_read(descriptor, -1, 0,
&lob_buffer, &lob_length TSRMLS_CC);
+#ifdef HAVE_OCI8_TEMP_LOB
php_oci_temp_lob_close(descriptor);
+#endif
if (lob_fetch_status) {
ZVAL_FALSE(value);
return 1;
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php