From: Thies C. Arntzen Date: Tue, 22 Feb 2000 13:56:48 +0000 (+0000) Subject: @- Fixed OCI8 crash when returning cursors from stored-procedures. (Thies) X-Git-Tag: PHP-4.0-RC1~502 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e0b0919375a5fbb1d16e6f0521e49b813383b491;p=php @- Fixed OCI8 crash when returning cursors from stored-procedures. (Thies) --- diff --git a/ext/oci8/oci8.c b/ext/oci8/oci8.c index fa6f36337a..8ac8d0ccec 100644 --- a/ext/oci8/oci8.c +++ b/ext/oci8/oci8.c @@ -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);