diff options
Diffstat (limited to 'ext/oci8/oci8.c')
-rw-r--r-- | ext/oci8/oci8.c | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/ext/oci8/oci8.c b/ext/oci8/oci8.c index 28895f5b59..8fd34a43f2 100644 --- a/ext/oci8/oci8.c +++ b/ext/oci8/oci8.c @@ -302,12 +302,9 @@ PHP_FUNCTION(ocicolltrim); #define OCI_FETCHSTATEMENT_BY_ROW 1<<5 #define OCI_FETCHSTATEMENT_BY (OCI_FETCHSTATEMENT_BY_COLUMN | OCI_FETCHSTATEMENT_BY_ROW) -static unsigned char a3_arg_force_ref[] = { 3, BYREF_NONE, BYREF_NONE, BYREF_FORCE }; -static unsigned char a2_arg_force_ref[] = { 2, BYREF_NONE, BYREF_FORCE }; - static zend_function_entry php_oci_functions[] = { - PHP_FE(ocidefinebyname, a3_arg_force_ref) - PHP_FE(ocibindbyname, a3_arg_force_ref) + PHP_FE(ocidefinebyname, third_arg_force_ref) + PHP_FE(ocibindbyname, third_arg_force_ref) PHP_FE(ocicolumnisnull, NULL) PHP_FE(ocicolumnname, NULL) PHP_FE(ocicolumnsize, NULL) @@ -318,8 +315,8 @@ static zend_function_entry php_oci_functions[] = { PHP_FE(ociexecute, NULL) PHP_FE(ocicancel, NULL) PHP_FE(ocifetch, NULL) - PHP_FE(ocifetchinto, a2_arg_force_ref) - PHP_FE(ocifetchstatement, a2_arg_force_ref) + PHP_FE(ocifetchinto, second_arg_force_ref) + PHP_FE(ocifetchstatement, second_arg_force_ref) PHP_FE(ocifreestatement, NULL) PHP_FE(ociinternaldebug, NULL) PHP_FE(ocinumcols, NULL) |