Re: Automattic Rollback on User Cancel with MySQL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

On 10/18/2002 08:47 AM, Benjamin Schleinzer wrote:
> Hi
> 
> I Am using the latest PHP version 4.2.3 with MySQL 3.23.51-max. I use 
> InnoDB tables for transactions and everything works fine with Rollback 
> and Commit. But when the user presses cancel in the browser or the 
> script stops due to an error in the script all open transactions are 
> committed instead of rolled back. Is there some way to change this 
> behavior ?

If you use Metabase, it will automatically rollback uncommitted 
transactions at the script exit even when the script ends due to user 
abort or some other error.

http://www.phpclasses.org/metabase


-- 

Regards,
Manuel Lemos


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux