]> granicus.if.org Git - php/commitdiff
this should really fix compile failure with gcc 2.96
authorAntony Dovgal <tony2001@php.net>
Fri, 20 Feb 2004 12:47:56 +0000 (12:47 +0000)
committerAntony Dovgal <tony2001@php.net>
Fri, 20 Feb 2004 12:47:56 +0000 (12:47 +0000)
ext/oci8/oci8.c

index 4f511c340cf3c0f4180dbe3d4385ad32f8e6ef9a..76cb139e00fd15490c3e31928c9b67205189f8c9 100644 (file)
@@ -836,9 +836,9 @@ static void _oci_define_hash_dtor(void *data)
  */
 static void _oci_desc_flush_hash_dtor(void *data)
 {
+       oci_descriptor *descr = *(oci_descriptor **)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);
                descr->buffering = 1;