Re: mysqli auto rollback on script termination

From: Date: Tue, 10 Oct 2006 12:38:26 +0000
Subject: Re: mysqli auto rollback on script termination
References: 1 2 3 4  Groups: php.db 
Request: Send a blank email to php-db+get-42522@lists.php.net to get a copy of this message
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."

« previous php.db (#42522) next »