summaryrefslogtreecommitdiff
path: root/ext/oracle/oracle.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/oracle/oracle.c')
-rw-r--r--ext/oracle/oracle.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/oracle/oracle.c b/ext/oracle/oracle.c
index bac878a6de..a49f10d78c 100644
--- a/ext/oracle/oracle.c
+++ b/ext/oracle/oracle.c
@@ -113,6 +113,8 @@ PHP_RSHUTDOWN_FUNCTION(oracle);
PHP_MINFO_FUNCTION(oracle);
/* }}} */
+static unsigned char second_args_force_ref[] = { 2, BYREF_NONE, BYREF_FORCE };
+
/* {{{ oracle_functions[]
*/
function_entry oracle_functions[] = {
@@ -126,7 +128,7 @@ function_entry oracle_functions[] = {
PHP_FE(ora_errorcode, NULL)
PHP_FE(ora_exec, NULL)
PHP_FE(ora_fetch, NULL)
- PHP_FE(ora_fetch_into, second_arg_force_ref)
+ PHP_FE(ora_fetch_into, second_args_force_ref)
PHP_FE(ora_columntype, NULL)
PHP_FE(ora_columnname, NULL)
PHP_FE(ora_columnsize, NULL)