PHP 4.3 handles this correctly. Give a snapshot from snaps.php.net a try.
-Rasmus
On Fri, 18 Oct 2002, 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
IIRC, someone added automatic rollback to MySQL from PHP 4.3.0 just
like PostgreSQL.
BTW, PostgreSQL module rollbacks uncommitted transaction automatically
from PHP3.
--
Yasuo Ohgaki
John W. Holmes wrote:
I Am using the latest PHP version 4.2.3 with MySQL 3.23.51-max. I use
InnoDB tables for
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