summaryrefslogtreecommitdiff
path: root/ext/oci8
diff options
context:
space:
mode:
authorChristopher Jones <sixd@php.net>2008-01-18 16:03:51 +0000
committerChristopher Jones <sixd@php.net>2008-01-18 16:03:51 +0000
commit90d414fdb6ced4f6dbed5a688bfbf9a7d876c573 (patch)
tree293352f2e622d4a8ac8f13d5864bbb10132aaaee /ext/oci8
parent92294297e5b0930fc5cf55990c1bc568ffba8785 (diff)
downloadphp-git-90d414fdb6ced4f6dbed5a688bfbf9a7d876c573.tar.gz
MFH: Add ifdef
Diffstat (limited to 'ext/oci8')
-rw-r--r--ext/oci8/oci8.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/oci8/oci8.c b/ext/oci8/oci8.c
index 231e7b24d0..48c8c923ce 100644
--- a/ext/oci8/oci8.c
+++ b/ext/oci8/oci8.c
@@ -1636,7 +1636,9 @@ int php_oci_column_to_zval(php_oci_out_column *column, zval *value, int mode TSR
/* 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;