#18628 [NEW]: odbc_columns returns SQL error 00000
| From: | jeff dot albert at ualberta dot ca | Date: | Mon, 29 Jul 2002 18:15:47 +0000 |
| Subject: | #18628 [NEW]: odbc_columns returns SQL error 00000 | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-15512@lists.php.net to get a copy of this message | ||
From: jeff.albert@ualberta.ca
Operating system: Windows 2000 Professional
PHP version: 4.2.2
PHP Bug Type: ODBC related
Bug description: odbc_columns returns SQL error 00000
Hello,
I will limit this report to odbc_columns, although other odbc functions
appear to be affected similarly:
<?php
$con = odbc_connect("dev", "", "");
$result = odbc_columns($con, "", "", "", "%");
?>
The above code will produce an SQL State 00000 error when connecting to an
MS Access 2000 database through ODBC on a Windows 2000 Professional box.
PHP is version 4.2.2, and the problem appears to occur in both Apache
1.3.* and 2.0.39.
<?php
$con = odbc_connect("dev", "", "");
$result = odbc_columns($con);
?>
Calling odbc_columns without the extra parameters actually causes php.exe
to crash altogether under the same environment.
--
Edit bug report at http://bugs.php.net/?id=18628&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=18628&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=18628&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=18628&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=18628&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=18628&r=support
Expected behavior: http://bugs.php.net/fix.php?id=18628&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=18628&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=18628&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=18628&r=globals