Re: PEAR::DB destructors and uncommitted transactions

From: Date: Tue, 10 Jun 2003 12:13:33 +0000
Subject: Re: PEAR::DB destructors and uncommitted transactions
References: 1 2  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-17256@lists.php.net to get a copy of this message
# mj@php.net / 2003-06-05 19:13:57 +0200: > On Thu Jun 05, 2003 at 02:5846PM +0200, Roman Neuhauser wrote: > > Index: DB/DB/common.php > > =================================================================== > > RCS file: /repository/pear/DB/DB/common.php,v > > retrieving revision 1.16 > > diff -u -u -r1.16 common.php > > +++ DB/DB/common.php 5 Jun 2003 12:50:36 -0000 > > @@ -143,6 +143,19 @@ > > } > > > > // }}} > > + // {{{ destructor > > + /** > > + * Destructor > > + */ > > + function _DB_common() > > + { > > + $this->expectError(DB_ERROR_NOT_CAPABLE); > > + $this->rollback(); > > + $this->popExpect(); > > + $this->_PEAR(); > > + } > > + > > + // }}} > > // {{{ quoteString() > > > > /** > > Looks fine for me. Tomas? Stig? no one has an opinion? :) -- If you cc me or remove the list(s) completely I'll most likely ignore your message. see http://www.eyrie.org./~eagle/faqs/questions.html

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