Bug #12513 Updated: Automatic Rollback of open transactions in persistent links

From: Date: Wed, 01 Aug 2001 13:07:32 +0000
Subject: Bug #12513 Updated: Automatic Rollback of open transactions in persistent links
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-61748@lists.php.net to get a copy of this message
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)

« previous php.dev (#61748) next »