RE: [PEAR-DEV] RE: MDB $this->in_transaction

From: Date: Fri, 31 Oct 2003 10:17:08 +0000
Subject: RE: [PEAR-DEV] RE: MDB $this->in_transaction
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-23159@lists.php.net to get a copy of this message
> From: Lukas Smith [mailto:smith@backendmedia.com] > Sent: Friday, October 31, 2003 10:12 AM > > From: Jeroen Houben [mailto:jeroen@terena.nl] > > Sent: Friday, October 31, 2003 10:08 AM > > > I think it's important that MDB users can find out if a transaction is > > open. There has to be public some method/variabale to find that out > IMHO. > > Yeah makes sense. Pondering it again it doesnt make that much sense after all :-) Basically when you set auto commit to false MDB automatically keeps a transaction open. Notice there is no "begin transaction" in MDB. So basically you are always in a transaction when auto_commit is FALSE. Now the obvious question is what the hell is $in_transaction for? Answer: I am not sure :-) It seems its just the opposite of $auto_commit I will investigate. Regards, Lukas

« previous php.pear.dev (#23159) next »