From: Antony Dovgal Date: Wed, 15 Feb 2006 20:43:37 +0000 (+0000) Subject: fix #36403 (oci_execute() no longer supports OCI_DESCRIBE_ONLY) X-Git-Tag: RELEASE_1_2~198 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cc318c4f4f68ad2090400d179928acb8d769d6d0;p=php fix #36403 (oci_execute() no longer supports OCI_DESCRIBE_ONLY) --- diff --git a/ext/oci8/oci8_statement.c b/ext/oci8/oci8_statement.c index 5f6559fcf4..c0e865bd16 100644 --- a/ext/oci8/oci8_statement.c +++ b/ext/oci8/oci8_statement.c @@ -282,8 +282,9 @@ int php_oci_statement_execute(php_oci_statement *statement, ub4 mode TSRMLS_DC) switch (mode) { case OCI_COMMIT_ON_SUCCESS: + case OCI_DESCRIBE_ONLY: case OCI_DEFAULT: - /* only these two are allowed */ + /* only these are allowed */ break; default: php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid execute mode given: %d", mode);