From cc318c4f4f68ad2090400d179928acb8d769d6d0 Mon Sep 17 00:00:00 2001 From: Antony Dovgal Date: Wed, 15 Feb 2006 20:43:37 +0000 Subject: [PATCH] fix #36403 (oci_execute() no longer supports OCI_DESCRIBE_ONLY) --- ext/oci8/oci8_statement.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); -- 2.50.1