]> granicus.if.org Git - php/commitdiff
fix #36403 (oci_execute() no longer supports OCI_DESCRIBE_ONLY)
authorAntony Dovgal <tony2001@php.net>
Wed, 15 Feb 2006 20:43:37 +0000 (20:43 +0000)
committerAntony Dovgal <tony2001@php.net>
Wed, 15 Feb 2006 20:43:37 +0000 (20:43 +0000)
ext/oci8/oci8_statement.c

index 5f6559fcf48941378fcd7adab95b60d642a9d139..c0e865bd160667ff21185a8632c049f2622100b6 100644 (file)
@@ -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);