Bug #11490: mssql_connect() broken, mssql_pconnect() fixes it
| From: | mlathoud at b2b2c dot ca | Date: | Thu, 14 Jun 2001 15:04:06 +0000 |
| Subject: | Bug #11490: mssql_connect() broken, mssql_pconnect() fixes it | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-57012@lists.php.net to get a copy of this message | ||
From: mlathoud@b2b2c.ca
Operating system: Debian GNU/Linux i686
PHP version: 4.0.5
PHP Bug Type: Sybase-ct (ctlib) related
Bug description: mssql_connect() broken, mssql_pconnect() fixes it
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).
--
Edit Bug report at: http://bugs.php.net/?id=11490&edit=1