From 2cf5871377e224ff56d1e58b80ee3b376747482f Mon Sep 17 00:00:00 2001 From: foobar Date: Fri, 2 Jan 2004 14:09:49 +0000 Subject: [PATCH] another ZTS fix --- ext/oci8/oci8.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ext/oci8/oci8.c b/ext/oci8/oci8.c index a39ac8ee14..3ce3b4939f 100644 --- a/ext/oci8/oci8.c +++ b/ext/oci8/oci8.c @@ -829,6 +829,8 @@ _oci_define_hash_dtor(void *data) static void _oci_desc_flush_hash_dtor(void *data) { + TSRMLS_FETCH(); + oci_descriptor *descr = *((oci_descriptor **)data); if (descr->buffering == 2 && (descr->type == OCI_DTYPE_LOB || descr->type == OCI_DTYPE_FILE)) { oci_lob_flush(descr,OCI_LOB_BUFFER_FREE TSRMLS_CC); -- 2.50.1