#12513 [Csd->Opn]: Automatic Rollback of open transactions in persistent links

From: Date: Fri, 15 Nov 2002 10:32:53 +0000
Subject: #12513 [Csd->Opn]: Automatic Rollback of open transactions in persistent links
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-24963@lists.php.net to get a copy of this message
ID: 12513 Updated by: georg@php.net Reported By: t.stinner@billiton.de -Status: Closed +Status: Open -Bug Type: MySQL related +Bug Type: Feature/Change Request Operating System: Linux PHP Version: 4.0.6 -Assigned To: zak +Assigned To: georg New Comment: Fix revoked. We have to wait until the libmysql-function mysql_restore_connection is available. Changed Status to Open Changed Category to Feature request Previous Comments: ------------------------------------------------------------------------ [2002-07-10 09:19:19] georg@php.net Its fixed now in the current CVS-release ------------------------------------------------------------------------ [2002-05-26 13:43:06] derick@php.net Looks like something for Zak to check... ------------------------------------------------------------------------ [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

« previous php.bugs (#24963) next »