Bug #1090 Updated: Sybase persistent connections can't handle server restart

From: Date: Mon, 25 Jan 1999 18:37:33 +0000
Subject: Bug #1090 Updated: Sybase persistent connections can't handle server restart
Groups: php.dev 
Request: Send a blank email to php-dev+get-3718@lists.php.net to get a copy of this message
ID: 1090 Updated by: tommay Reported By: ryan@sunsetd.com Status: Open Bug Type: Sybase-ct (ctlib) related Assigned To: Comments: I put in a pile of code for 3.0.6 to deal with this because our piece of crap databases crap out all the time. The way it's intended to work now is that sybase_pconnection() will not return a known bad connection. However, the connection it will return is also not known to still be good. If the database is restarted or the machine it's running on is rebooted it will return a connection that will fail, but that connection will be marked dead and will not be returned again. Trying to guess whether the connection is known good is unreliable because there's always a race where the connection may be good when it is returned but the database may go down soon afterwards. You always need error recovery code in your php script. Full Bug description available at: http://ca.php.net/bugs.php3?id=1090 -- 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 (#3718) next »