cvs: php4 /ext/oracle oracle.c
| From: | Thies C. Arntzen | Date: | Thu, 16 Nov 2000 12:37:34 +0000 |
| Subject: | cvs: php4 /ext/oracle oracle.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-2636@lists.php.net to get a copy of this message | ||
thies Thu Nov 16 04:37:34 2000 EDT
Modified files:
/php4/ext/oracle oracle.c
Log:
fix ora_fetch_into to allow_call_time_pass_reference = Off; (#7838)
Index: php4/ext/oracle/oracle.c
diff -u php4/ext/oracle/oracle.c:1.57 php4/ext/oracle/oracle.c:1.58
--- php4/ext/oracle/oracle.c:1.57 Sun Oct 29 01:14:52 2000
+++ php4/ext/oracle/oracle.c Thu Nov 16 04:37:34 2000
@@ -115,7 +115,7 @@
PHP_FE(ora_errorcode, NULL)
PHP_FE(ora_exec, NULL)
PHP_FE(ora_fetch, NULL)
- PHP_FE(ora_fetch_into, NULL)
+ PHP_FE(ora_fetch_into, second_arg_force_ref)
PHP_FE(ora_columntype, NULL)
PHP_FE(ora_columnname, NULL)
PHP_FE(ora_columnsize, NULL)
@@ -1075,11 +1075,6 @@
default:
WRONG_PARAM_COUNT;
break;
- }
-
- if (! ParameterPassedByReference(ht, 2)){
- php_error(E_WARNING, "Array not passed by reference in call to ora_fetch_into()");
- RETURN_FALSE;
}
/* Find the cursor */