summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorChristopher Jones <sixd@php.net>2008-01-18 16:03:35 +0000
committerChristopher Jones <sixd@php.net>2008-01-18 16:03:35 +0000
commita4c915c855101caafbf7eff9b438fa9619eb5d33 (patch)
tree50e73f856e423e05cc71e13b922b273b8bcc7639 /ext
parent45353a5c392854714a86f9190bbffcdb76ece571 (diff)
downloadphp-git-a4c915c855101caafbf7eff9b438fa9619eb5d33.tar.gz
MFH: Add ifdef
Diffstat (limited to 'ext')
-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 416ce19544..2b90cb44fd 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;