Bug #1365: PHP doesn't handle the server message 5701 properly
| From: | pettern at thule dot no | Date: | Fri, 30 Apr 1999 23:10:38 +0000 |
| Subject: | Bug #1365: PHP doesn't handle the server message 5701 properly | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-5302@lists.php.net to get a copy of this message | ||
From: pettern@thule.no
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@lists.php.net
For help: php-dev-help@lists.php.net