#1441 [Com]: PHP doesn't handle persistent connections that has been killed properly
| From: | test at mailer dot com | Date: | Tue, 24 Aug 2004 10:09:41 +0000 |
| Subject: | #1441 [Com]: PHP doesn't handle persistent connections that has been killed properly | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-65158@lists.php.net to get a copy of this message | ||
ID: 1441
Comment by: test at mailer dot com
Reported By: pettern at thule dot no
Status: Closed
Bug Type: Sybase-ct (ctlib) related
Operating System: Linux Redhat 5.2
PHP Version: 4.0
New Comment:
<b>not bad</b>
Previous Comments:
------------------------------------------------------------------------
[2002-12-02 04:13:32] zeljkovr at net dot yu
ver 4.2.2 this behavior is still there
------------------------------------------------------------------------
[2001-02-10 13:20:30] jimw@php.net
looks to me like 4.0 should handle this correctly.
------------------------------------------------------------------------
[1999-12-13 16:12:20] joey at cvs dot php dot net
While I can confirm that the behavior is still there, I am moving it
to
a feature/change request. It'd be nice, though....
------------------------------------------------------------------------
[1999-05-23 20:56:11] pettern at thule dot no
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 :-)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=1441&edit=1