From b9abc5572811933a5e289c252c415ef70b6ea847 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E7=A5=A5=E8=B6=85?= Date: Tue, 15 Mar 2022 18:58:56 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9C=AC=E5=9C=B0=E6=95=B0=E6=8D=AE=E5=BA=93?= =?UTF-8?q?=E5=8D=87=E7=BA=A7=E4=B9=8B=E5=90=8E=E5=A2=9E=E5=8A=A0=E6=97=A5?= =?UTF-8?q?=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/caches/list_file.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/caches/list_file.go b/internal/caches/list_file.go index ed853be..1750208 100644 --- a/internal/caches/list_file.go +++ b/internal/caches/list_file.go @@ -397,6 +397,7 @@ func (this *FileList) UpgradeV3(oldDir string, brokenOnError bool) error { defer func() { _ = os.Remove(indexDBPath) + remotelogs.Println("CACHE", "upgrading local database finished") }() db, err := sql.Open("sqlite3", "file:"+indexDBPath+"?cache=shared&mode=rwc&_journal_mode=WAL&_sync=OFF")