Re: Change in PHP 4.2.3 for mysql rollback
| From: | Rasmus Lerdorf | Date: | Tue, 08 Oct 2002 04:55:29 +0000 |
| Subject: | Re: Change in PHP 4.2.3 for mysql rollback | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-119210@lists.php.net to get a copy of this message | ||
It doesn't look to see if there are any, that'd be hard. It just does a
rollback to be safe. It shouldn't hurt anything if you aren't using
transactions.
-Rasmus
On Tue, 8 Oct 2002, Samantha Savvakis wrote:
> Hi,
>
> I noticed one of the fixes/changes to PHP 4.2.3 is the following:
>
> - Made MySQL rollback open transactions when the request ends.
>
> The reason why I looked into the changes is because I noticed the SQL
> Command "ROLLBACK" being submitted to my database server after the database
> handles were closed in PHP or exited.
>
> My problem is - I have not opened a transaction and I don't have
> transactions enabled for the MySQL database that I've got. I'm still on
> MyISAM tables, not InnoDB tables.
>
> How is it that PHP 4.2.3 is finding an open transaction when I'm not using
> transactions? Is this going to cause a problem?
>
> Thanks,
> Sam
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>