]> granicus.if.org Git - php/commitdiff
MFH
authorAntony Dovgal <tony2001@php.net>
Thu, 21 Dec 2006 22:08:26 +0000 (22:08 +0000)
committerAntony Dovgal <tony2001@php.net>
Thu, 21 Dec 2006 22:08:26 +0000 (22:08 +0000)
ext/oci8/oci8_interface.c

index 52e1ebe00f53da3cdd592fe25a5ea13f52cdf48e..10f95f0266f867181846aef4f7ae9e2b5545795e 100644 (file)
 #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 @@ PHP_FUNCTION(oci_statement_type)
                case OCI_STMT_DECLARE:
                        RETVAL_STRING("DECLARE",1);
                        break;
+               case OCI_STMT_CALL:
+                       RETVAL_STRING("CALL",1);
+                       break;
                default:
                        RETVAL_STRING("UNKNOWN",1);
        }