Bug #11490 Updated: mssql_connect() broken, mssql_pconnect() fixes it
| From: | sniper@php.net | Date: | Thu, 14 Jun 2001 17:03:17 +0000 |
| Subject: | Bug #11490 Updated: mssql_connect() broken, mssql_pconnect() fixes it | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-57109@lists.php.net to get a copy of this message | ||
ID: 11490
Updated by: sniper
Reported By: mlathoud@b2b2c.ca
Old-Status: Open
Status: Feedback
Bug Type: Sybase-ct (ctlib) related
Operating system:
PHP Version: 4.0.5
Assigned To:
Comments:
Add shortest possible example script which can be used
to reproduce this into this report.
Previous Comments:
---------------------------------------------------------------------------
[2001-06-14 11:04:06] mlathoud@b2b2c.ca
I am using Debian unstable, with the following relevant packages:
freetds0 0.51-4
php4 and php4-sybase 4.0.5-2
It's in fact using extension=sybase_ct.so.
When connecting to a MSSQL7 server, if I use mssql_connect(), only the first row of a query can be
fetched, then I get "2 is not a valid Sybase result resource".
Simply switching to mssql_pconnect() fixes it (even when used with the standalone php4 binary).
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=11490&edit=2