Unified ODBC strangeness
| From: | Rasmus Lerdorf | Date: | Thu, 01 Jan 1970 00:00:00 +0000 |
| Subject: | Unified ODBC strangeness | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-2608@lists.php.net to get a copy of this message | ||
Could one of the ODBC guys please have a look at the odbc_setoption()
function? The code says:
if ( getParameters(ht, 3, &arg1, &arg2, &arg3, &arg4) == FAILURE) {
WRONG_PARAM_COUNT;
}
This doesn't make much sense. You are telling it to expect only 3
arguments, yet you have an arg4 and you go on to use this arg4 in the code
below this. If you fix it, please fill in the prototype comment that I
added as well.
-Rasmus
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net