[PHP-DEV] Bug #1365: PHP doesn't handle the server message 5701 properly From: pettern <email protected>
Date: 04/30/99

From: pettern <email protected>
Operating system: Linux Redhat 5.2 w/Apache 1.3.6
PHP version: 3.0.7
PHP Bug Type: Sybase-ct (ctlib) related
Bug description: PHP doesn't handle the server message 5701 properly

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;

--
PHP Development Mailing List   http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe <email protected>
For help: php-dev-help <email protected>