PHP 4.0 Bug #6762 Updated: Incorrect ARGC in function odbc_columns - php_odbc.c
| From: | kalowsky@php.net | Date: | Mon, 26 Mar 2001 22:10:11 +0000 |
| Subject: | PHP 4.0 Bug #6762 Updated: Incorrect ARGC in function odbc_columns - php_odbc.c | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-50001@lists.php.net to get a copy of this message | ||
ID: 6762
Updated by: kalowsky
Reported By: mikebp@gallery-software.com
Old-Status: Open
Status: Assigned
Bug Type: ODBC related
Assigned To: kalowsky
Comments:
yeah, i'll check this one out tooo.....
Previous Comments:
---------------------------------------------------------------------------
[2000-09-14 12:40:15] mikebp@gallery-software.com
Hi,
I just tried to use the php_odbc module under Win32 (WinNT 4.0 sp5, although that isn't an
issue here) and noticed that the documentation for odbc_columns dissagrees with the actuall source
code for the php function. The doco specifies:
int odbc_columns (int connection_id [, string qualifier [, string owner [, string table_name [,
string column_name]]]])
However, looking at the code the odbc_columns function will only work if the argument count has 1 or
5 arguments. This doesn't help with the last column not being known (as would probably be the
case most of the time when people want to retreive a list of column name that are currently unknown
at run-time).
I noticed the doco does allow the user to specify a "%" wildcard character, so there IS a
work around.
Could you please look into this for me?
Cheers,
Mike Berry-Porter
mikebp@gallery-software.com
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=6762&edit=2