Bug #12513 Updated: Automatic Rollback of open transactions in persistent links
ID: 12513
Updated by: andy
Reported By: t.stinner@billiton.de
Status: Open
Old Bug Type: MySQL related
Bug Type: Feature/Change Request
Operating System: Linux
PHP Version: 4.0.6
New Comment:
reclassified
Previous Comments:
------------------------------------------------------------------------
[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
Thread (2 messages)