protected function applyPatch($path, $isFullPath = false, $msg = null) { $prevScroll = $this->db->scrollableCursor(false); $prevPrep = $this->db->prepareStatements(false); parent::applyPatch($path, $isFullPath, $msg); $this->db->scrollableCursor($prevScroll); $this->db->prepareStatements($prevPrep); }