PEAR::DB getting automcommit status
| From: | Jeroen Houben | Date: | Mon, 26 Sep 2005 09:23:06 +0000 |
| Subject: | PEAR::DB getting automcommit status | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-39933@lists.php.net to get a copy of this message | ||
Hi,
I think it useful to be able to get the current autocommit status of a PEAR::DB connection object. I can only use $db->autoCommit(false), but there is no method to get the autocommit property (marked as private) or to find out if a transaction was started. Any particular reason for this?
Jeroen