Bug #1441: PHP doesn't handle persistent connections that has been killed properly

From: Date: Mon, 24 May 1999 00:56:11 +0000
Subject: Bug #1441: PHP doesn't handle persistent connections that has been killed properly
Groups: php.dev 
Request: Send a blank email to php-dev+get-5915@lists.php.net to get a copy of this message
From: pettern@thule.no Operating system: Linux Redhat 5.2 PHP version: 3.0.7 PHP Bug Type: Sybase-ct (ctlib) related Bug description: PHP doesn't handle persistent connections that has been killed properly Follow this procedure to reproduce the problem: - Use sybase_pconnect() a few times to start up a few persistent connections. - Start Sybase Central and kill off the PHP3 connections. - Rerun the script that uses sybase_pconnect(). sybase_pconnect() will NOT fail, however any following sybase_query() will return 0, but no other error message. Looks like PHP3 tries to run the query on a persistent connection that has disappeared, but doesn't fail in sybase_pconnect() as it should. Ideally, it should check if a persistant connection is gone and not fail at all, but if it have to fail it should do it in the "right" function :-) -- 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

« previous php.dev (#5915) next »