mirror of
https://github.com/TeaOSLab/EdgeNode.git
synced 2025-12-09 03:10:26 +08:00
本地数据库升级之后增加日志
This commit is contained in:
@@ -397,6 +397,7 @@ func (this *FileList) UpgradeV3(oldDir string, brokenOnError bool) error {
|
|||||||
|
|
||||||
defer func() {
|
defer func() {
|
||||||
_ = os.Remove(indexDBPath)
|
_ = 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")
|
db, err := sql.Open("sqlite3", "file:"+indexDBPath+"?cache=shared&mode=rwc&_journal_mode=WAL&_sync=OFF")
|
||||||
|
|||||||
Reference in New Issue
Block a user