/** * 回滚事务 */ function rollback() { if (!$this->_in_transaction) { return; } $this->_dbo->completeTrans(false); $this->_in_transaction = false; }
function tearDown() { $this->_conn->completeTrans(false); }