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 Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
17 + 25 = ?
Subscribe to this entry?

 
 [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-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 02:01:30 2024 UTC