Re: Automattic Rollback on User Cancel with MySQL
| From: | Rasmus Lerdorf | Date: | Sat, 19 Oct 2002 04:07:26 +0000 |
| Subject: | Re: Automattic Rollback on User Cancel with MySQL | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-22512@lists.php.net to get a copy of this message | ||
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 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 ?
>
> Thanks for any help
>
> Ben
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>