diff options
| author | Wez Furlong <wez@php.net> | 2005-11-04 18:11:40 +0000 |
|---|---|---|
| committer | Wez Furlong <wez@php.net> | 2005-11-04 18:11:40 +0000 |
| commit | 00df9b67cedaa77940da12829f054ac953a8c2c6 (patch) | |
| tree | bc025e218eda56f46bf99454198808f351b8d1a0 /ext/pdo_oci/oci_statement.c | |
| parent | bf9a25d0bba726f033ac56c07c4bb253cb659c29 (diff) | |
| download | php-git-00df9b67cedaa77940da12829f054ac953a8c2c6.tar.gz | |
Fixes PECL Bug #5868; wrong iters count for OCIStmtExecute
Diffstat (limited to 'ext/pdo_oci/oci_statement.c')
| -rwxr-xr-x | ext/pdo_oci/oci_statement.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |
