summaryrefslogtreecommitdiff
path: root/ext/oci8
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2004-01-02 14:09:49 +0000
committerfoobar <sniper@php.net>2004-01-02 14:09:49 +0000
commit2cf5871377e224ff56d1e58b80ee3b376747482f (patch)
treedfef25ffba271168815706534cbf8270f5986c9c /ext/oci8
parent5d58aff217fa7fc21f6e90244d49282c8f8dd622 (diff)
downloadphp-git-2cf5871377e224ff56d1e58b80ee3b376747482f.tar.gz
another ZTS fix
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 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);