php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #1365 PHP doesn't handle the server message 5701 properly
Submitted: 1999-04-30 19:10 UTC Modified: 1999-09-04 18:35 UTC
From: pettern at thule dot no Assigned:
Status: Closed Package: Sybase-ct (ctlib) related
PHP Version: 3.0.7 OS: Linux Redhat 5.2 w/Apache 1.3.6
Private report: No CVE-ID: None
 [1999-04-30 19:10 UTC] pettern at thule dot no
Sybase 11.0 and later reports a severity error of 10 on the 5701 message whenever the client switches database, which happens both in the connect and select_db calls. This is reported in the html output from PHP. The following code fixes that at the beginning of _server_message_handler():

        if(srvmsg->msgnumber == 5701)
                return CS_SUCCEED;



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-09-04 18:35 UTC] riffraff at cvs dot php dot net
try setting sybase.min_message_severity = 12 in your
php3.ini. it'll disable all messages of such importance as
database context changed :-))
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Sun Dec 15 08:01:24 2019 UTC