From: fielker at informatik dot fh-augsburg dot de
Operating system: Linux x86
PHP version: 4.3.4
PHP Bug Type: MSSQL related
Bug description: Freetds 0.62.1
Description:
------------
When using Freetds 0.62.1 i can't call stored procedures.
At last - there is no result
Freetds 0.62.1 gives me always an empty result. Using the
comandline of freetds (tsql) works:
1> sp_help
2> go
I use M$ SQL 2000 with M$ Win 2000 Server.
Reproduce code:
---------------
This works with Freetds 0.61.0 but not with 0.62.1:
$db = sybase_connect("host", "user", "passwort" );
$q = sybase_query("sp_help", $db);
while($row = sybase_fetch_row($q)) {
while(list($k, $v) = each($row)) {
echo "\$row[$k] => $v\n";
}
}
--
Edit bug report at http://bugs.php.net/?id=27562&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=27562&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=27562&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=27562&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=27562&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=27562&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=27562&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=27562&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=27562&r=support
Expected behavior: http://bugs.php.net/fix.php?id=27562&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=27562&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=27562&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=27562&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=27562&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=27562&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=27562&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=27562&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=27562&r=float