tony2001 Thu Dec 21 22:08:26 2006 UTC
Modified files: (Branch: PHP_5_2)
/php-src/ext/oci8 oci8_interface.c
Log:
MFH
http://cvs.php.net/viewvc.cgi/php-src/ext/oci8/oci8_interface.c?r1=1.8.2.7.2.5&r2=1.8.2.7.2.6&diff_format=u
Index: php-src/ext/oci8/oci8_interface.c
diff -u php-src/ext/oci8/oci8_interface.c:1.8.2.7.2.5
php-src/ext/oci8/oci8_interface.c:1.8.2.7.2.6
--- php-src/ext/oci8/oci8_interface.c:1.8.2.7.2.5 Mon Dec 11 12:34:09 2006
+++ php-src/ext/oci8/oci8_interface.c Thu Dec 21 22:08:26 2006
@@ -25,7 +25,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: oci8_interface.c,v 1.8.2.7.2.5 2006/12/11 12:34:09 tony2001 Exp $ */
+/* $Id: oci8_interface.c,v 1.8.2.7.2.6 2006/12/21 22:08:26 tony2001 Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -40,6 +40,10 @@
#include "php_oci8.h"
#include "php_oci8_int.h"
+#ifndef OCI_STMT_CALL
+#define OCI_STMT_CALL 10
+#endif
+
/* {{{ proto bool oci_define_by_name(resource stmt, string name, mixed &var [,
int type])
Define a PHP variable to an Oracle column by name */
/* if you want to define a LOB/CLOB etc make sure you allocate it via
OCINewDescriptor BEFORE defining!!! */
@@ -1847,6 +1851,9 @@
case OCI_STMT_DECLARE:
RETVAL_STRING("DECLARE",1);
break;
+ case OCI_STMT_CALL:
+ RETVAL_STRING("CALL",1);
+ break;
default:
RETVAL_STRING("UNKNOWN",1);
}
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php