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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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 14 01:01:28 2024 UTC