Re: mysqli auto rollback on script termination

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

 



Chris skrev:
It doesn't explicitly say anything about when a connection is lost but I'm guessing it would rollback the transaction (well I'd sure hope so).

Me too. In any case, I'm now also using register_shutdown_function, which calls a function that does rollback of not committed transations.

Thanks.

--
Martin - http://925.dk
"Shoot for the moon, even if you miss, you'll land among the stars."

--
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