private function commit() { if ($this->_in_transaction === false) { throw new Ruckusing_Exception('Transaction not started', Ruckusing_Exception::QUERY_ERROR); } $this->execute_ddl("COMMIT"); $this->_in_transaction = false; }