diff options
author | Dan Kalowsky <kalowsky@php.net> | 2001-06-19 17:58:09 +0000 |
---|---|---|
committer | Dan Kalowsky <kalowsky@php.net> | 2001-06-19 17:58:09 +0000 |
commit | 746dd9cbe467868b83c3b969b9467b5e94b7afb4 (patch) | |
tree | c7e901da3944ab302795fb166b16e1f090b46dce /ext/odbc/php_odbc.c | |
parent | b0ed727aeedf8eb0f91a3f2845c18d825f65410f (diff) | |
download | php-git-746dd9cbe467868b83c3b969b9467b5e94b7afb4.tar.gz |
Closed off Solid DB access to a function that it doesn't support in 3.0 and less.
Thanks to Eric Veldhuzen
Diffstat (limited to 'ext/odbc/php_odbc.c')
-rw-r--r-- | ext/odbc/php_odbc.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/odbc/php_odbc.c b/ext/odbc/php_odbc.c index bca98d26b8..a4d24ed27a 100644 --- a/ext/odbc/php_odbc.c +++ b/ext/odbc/php_odbc.c @@ -99,7 +99,9 @@ function_entry odbc_functions[] = { PHP_FE(odbc_field_type, NULL) PHP_FE(odbc_field_num, NULL) PHP_FE(odbc_free_result, NULL) +#if !defined(HAVE_SOLID) && !defined(HAVE_SOLID_30) PHP_FE(odbc_next_result, NULL) +#endif PHP_FE(odbc_num_fields, NULL) PHP_FE(odbc_num_rows, NULL) PHP_FE(odbc_result, NULL) @@ -2260,6 +2262,7 @@ PHP_FUNCTION(odbc_num_rows) } /* }}} */ +#if !defined(HAVE_SOLID) && !defined(HAVE_SOLID_30) /* {{{ proto bool odbc_next_result(int result_id) Checks if multiple results are avaiable */ PHP_FUNCTION(odbc_next_result) @@ -2307,6 +2310,7 @@ PHP_FUNCTION(odbc_next_result) } } /* }}} */ +#endif /* {{{ proto int odbc_num_fields(int result_id) Get number of columns in a result */ |