ID: 27562
User updated by: fielker at informatik dot fh-augsburg dot de
Reported By: fielker at informatik dot fh-augsburg dot de
Status: Bogus
Bug Type: MSSQL related
Operating System: Linux x86
PHP Version: 4.3.4
New Comment:
Please carefully read my Bugreport!
It _WORKS_ with the cmdline version of freetds 0.62.1 but
NOT with php compiled with 0.62.1 - so this is a 100% PHP
related bug. There is no problem with 0.61.0 in PHP.
Maybe the API of Freets has changed and PHP doesn't care of
this. I don't know. I don't have time dealing with the
source code.
Previous Comments:
------------------------------------------------------------------------
[2004-03-11 08:56:03] [EMAIL PROTECTED]
Why would you think it's a PHP bug then? Report to the freetds
people..
------------------------------------------------------------------------
[2004-03-11 02:00:17] fielker at informatik dot fh-augsburg dot de
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 this bug report at http://bugs.php.net/?id=27562&edit=1