]> granicus.if.org Git - php/commitdiff
@- Fixed OCI8 crash when returning cursors from stored-procedures. (Thies)
authorThies C. Arntzen <thies@php.net>
Tue, 22 Feb 2000 13:56:48 +0000 (13:56 +0000)
committerThies C. Arntzen <thies@php.net>
Tue, 22 Feb 2000 13:56:48 +0000 (13:56 +0000)
ext/oci8/oci8.c

index fa6f36337a657cdf3e9ab0e79ebc75251a29188b..8ac8d0ccec202108b8d3e31a765bc171674a2edb 100644 (file)
@@ -1731,7 +1731,7 @@ oci_bind_out_callback(dvoid *octxp,      /* context pointer */
                return retval;
        }
 
-       if (val->type == IS_OBJECT) {
+       if ((val->type == IS_OBJECT) || (val->type == IS_RESOURCE)) {
                retval = OCI_CONTINUE;
        } else {
                convert_to_string(val);