Bug #12513 Updated: Automatic Rollback of open transactions in persistent links
| From: | derick@php.net | Date: | Sun, 26 May 2002 17:43:06 +0000 |
| Subject: | Bug #12513 Updated: Automatic Rollback of open transactions in persistent links | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-8592@lists.php.net to get a copy of this message | ||
ID: 12513
Updated by: derick@php.net
Reported By: t.stinner@billiton.de
-Status: Open
+Status: Assigned
Bug Type: MySQL related
Operating System: Linux
PHP Version: 4.0.6
-Assigned To:
+Assigned To: zak
New Comment:
Looks like something for Zak to check...
Previous Comments:
------------------------------------------------------------------------
[2002-04-27 15:52:08] jimw@php.net
this is a bug, not a feature request.
------------------------------------------------------------------------
[2001-08-01 09:07:32] andy@php.net
reclassified
------------------------------------------------------------------------
[2001-08-01 09:06:41] t.stinner@billiton.de
When using mysql_pconnect() the connection to the database (abviously)
persists.
This has the site-effect that open transactions at the end of the page
request remain open if you do not explicitly commit/rollback the
transaction.
This can happen very easily if you have an error in your script.
The Postgres driver does an automatic rollback at request shutdown, the
mysql driver should do the same.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=12513&edit=1