tony2001                Wed Feb 15 20:44:55 2006 UTC

  Modified files:              (Branch: PHP_5_1)
    /php-src/ext/oci8   oci8_statement.c 
    /php-src    NEWS 
  Log:
  MFH: fix #36403 (oci_execute() no longer supports OCI_DESCRIBE_ONLY)
  
  
http://cvs.php.net/viewcvs.cgi/php-src/ext/oci8/oci8_statement.c?r1=1.7.2.11&r2=1.7.2.12&diff_format=u
Index: php-src/ext/oci8/oci8_statement.c
diff -u php-src/ext/oci8/oci8_statement.c:1.7.2.11 
php-src/ext/oci8/oci8_statement.c:1.7.2.12
--- php-src/ext/oci8/oci8_statement.c:1.7.2.11  Fri Feb  3 14:46:42 2006
+++ php-src/ext/oci8/oci8_statement.c   Wed Feb 15 20:44:55 2006
@@ -25,7 +25,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: oci8_statement.c,v 1.7.2.11 2006/02/03 14:46:42 tony2001 Exp $ */
+/* $Id: oci8_statement.c,v 1.7.2.12 2006/02/15 20:44:55 tony2001 Exp $ */
 
 
 #ifdef HAVE_CONFIG_H
@@ -282,8 +282,9 @@
 
        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);
http://cvs.php.net/viewcvs.cgi/php-src/NEWS?r1=1.2027.2.416&r2=1.2027.2.417&diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.416 php-src/NEWS:1.2027.2.417
--- php-src/NEWS:1.2027.2.416   Wed Feb 15 11:09:05 2006
+++ php-src/NEWS        Wed Feb 15 20:44:55 2006
@@ -22,6 +22,8 @@
 - Added ReflectionClass::newInstanceArgs($args). (Marcus)
 - Added imap_savebody() that allows message body to be written to a file.
   (Mike)
+- Fixed bug #36403 (oci_execute() no longer supports OCI_DESCRIBE_ONLY). 
+  (Tony)
 - Fixed bug #36400 (Custom 5xx error does not return correct HTTP response 
   error code). (Tony)
 - Fixed bug #36345 (PDO/MySQL problem loading BLOB over 1MB). (Ilia)

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to