private function beginTransaction() { if ($this->_in_transaction) { throw new Ruckusing_Exception('Transaction already started', Ruckusing_Exception::QUERY_ERROR); } $this->execute_ddl("BEGIN"); $this->_in_transaction = true; }