summaryrefslogtreecommitdiff
path: root/ext/odbc
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2003-08-03 17:44:39 +0000
committerZeev Suraski <zeev@php.net>2003-08-03 17:44:39 +0000
commit538d58dd5f13a3ffda958ec002733dcbbc965352 (patch)
tree6d82510f96846c52de5ca250ddb337e1a21918c7 /ext/odbc
parent4e796a70802e42ed03b12a18375b0f446a251e59 (diff)
downloadphp-git-538d58dd5f13a3ffda958ec002733dcbbc965352.tar.gz
Use new infrastructure.
There are bound to be some messups, please report build/runtime bugs!
Diffstat (limited to 'ext/odbc')
-rw-r--r--ext/odbc/php_odbc.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/ext/odbc/php_odbc.c b/ext/odbc/php_odbc.c
index 75ae7e705b..3413a14ea7 100644
--- a/ext/odbc/php_odbc.c
+++ b/ext/odbc/php_odbc.c
@@ -66,8 +66,6 @@ static int le_result, le_conn, le_pconn;
#define SAFE_SQL_NTS(n) ((SWORD) ((n)?(SQL_NTS):0))
-static unsigned char a3_arg3_and_3_force_ref[] = { 3, BYREF_NONE, BYREF_FORCE, BYREF_ALLOW};
-
/* {{{ odbc_functions[]
*/
function_entry odbc_functions[] = {
@@ -91,7 +89,7 @@ function_entry odbc_functions[] = {
PHP_FE(odbc_fetch_object, NULL)
#endif
PHP_FE(odbc_fetch_row, NULL)
- PHP_FE(odbc_fetch_into, a3_arg3_and_3_force_ref)
+ PHP_FE(odbc_fetch_into, second_arg_force_ref)
PHP_FE(odbc_field_len, NULL)
PHP_FE(odbc_field_scale, NULL)
PHP_FE(odbc_field_name, NULL)