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
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: pettern at thule dot no
New email:
PHP Version: OS:

 

 [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

Pull Requests

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-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 11:01:30 2024 UTC