tony2001 Wed Feb 15 20:43:38 2006 UTC
Modified files:
/php-src/ext/oci8 oci8_statement.c
Log:
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.16&r2=1.17&diff_format=u
Index: php-src/ext/oci8/oci8_statement.c
diff -u php-src/ext/oci8/oci8_statement.c:1.16
php-src/ext/oci8/oci8_statement.c:1.17
--- php-src/ext/oci8/oci8_statement.c:1.16 Fri Feb 3 14:48:24 2006
+++ php-src/ext/oci8/oci8_statement.c Wed Feb 15 20:43:37 2006
@@ -25,7 +25,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: oci8_statement.c,v 1.16 2006/02/03 14:48:24 tony2001 Exp $ */
+/* $Id: oci8_statement.c,v 1.17 2006/02/15 20:43:37 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);
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php