RE: [PEAR-DEV] PEAR::DB destructors and uncommitted transactions

From: Date: Thu, 05 Jun 2003 13:08:05 +0000
Subject: RE: [PEAR-DEV] PEAR::DB destructors and uncommitted transactions
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-17058@lists.php.net to get a copy of this message
> From: Roman Neuhauser [mailto:neuhauser@bellavista.cz] > Sent: Thursday, June 05, 2003 2:59 PM > > > 1) "if you want destructors rolling back transactions, have a hierarchy > parallel to PEAR::DB, with your drivers implementing the feature" > (we're already doing this for other features, so no big deal, this > is OOP afterall) > > 2) add _DB_* to the individual drivers which implement transactions. > I don't think this would be such a good idea. > > 3) add _DB_common(), and expectError(DB_ERROR_NOT_CAPABLE) MDB does 1) ... I have not tested it as much as I probably should however. Regards, Lukas

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