From 00df9b67cedaa77940da12829f054ac953a8c2c6 Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Fri, 4 Nov 2005 18:11:40 +0000 Subject: [PATCH] Fixes PECL Bug #5868; wrong iters count for OCIStmtExecute --- ext/pdo_oci/oci_statement.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.40.0