From: Christopher Jones Date: Fri, 18 Jan 2008 16:03:23 +0000 (+0000) Subject: Add ifdef X-Git-Tag: RELEASE_2_0_0a1~848 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f55c8670afb111f0577c87373b5a704bf3ea034a;p=php Add ifdef --- diff --git a/ext/oci8/oci8.c b/ext/oci8/oci8.c index 10731944b3..9d23c98e81 100644 --- a/ext/oci8/oci8.c +++ b/ext/oci8/oci8.c @@ -1681,7 +1681,9 @@ int php_oci_column_to_zval(php_oci_out_column *column, zval *value, int mode TSR lob_fetch_status = php_oci_lob_read(descriptor, -1, 0, &lob_buffer, &lob_length TSRMLS_CC); lob_fetch_status |= (php_oci_lob_get_type(descriptor, &lob_type TSRMLS_CC) > 0); +#ifdef HAVE_OCI8_TEMP_LOB php_oci_temp_lob_close(descriptor); +#endif if (lob_fetch_status) { ZVAL_FALSE(value); return 1;