From: Wez Furlong Date: Fri, 4 Nov 2005 18:11:40 +0000 (+0000) Subject: Fixes PECL Bug #5868; wrong iters count for OCIStmtExecute X-Git-Tag: php-5.1.0RC5~56 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=00df9b67cedaa77940da12829f054ac953a8c2c6;p=php Fixes PECL Bug #5868; wrong iters count for OCIStmtExecute --- diff --git a/ext/pdo_oci/oci_statement.c b/ext/pdo_oci/oci_statement.c index ad090a684b..5f84dbe4d5 100755 --- a/ext/pdo_oci/oci_statement.c +++ b/ext/pdo_oci/oci_statement.c @@ -138,7 +138,7 @@ static int oci_stmt_execute(pdo_stmt_t *stmt TSRMLS_DC) /* {{{ */ } STMT_CALL(OCIStmtExecute, (S->H->svc, S->stmt, S->err, - (S->stmt_type == OCI_STMT_SELECT || S->have_blobs) ? 1 : 0, 0, NULL, NULL, + (S->stmt_type == OCI_STMT_SELECT && !S->have_blobs) ? 0 : 1, 0, NULL, NULL, mode)); if (!stmt->executed) {