From:             [EMAIL PROTECTED]
Operating system: Linux
PHP version:      4.0.6
PHP Bug Type:     MySQL related
Bug description:  Automatic Rollback of open transactions in persistent links

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 bug report at: http://bugs.php.net/?id=12513&edit=1


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to