mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-01-14 21:23:43 +01:00
delete shm file after converting to DELETE journal mode
This commit is contained in:
@@ -219,6 +219,7 @@ public final class SQLiteStore: LocalStorage {
|
||||
options: [NSSQLitePragmasOption: ["journal_mode": "DELETE"]]
|
||||
)
|
||||
}
|
||||
_ = try? FileManager.default.removeItem(atPath: "\(self.fileURL.path)-shm")
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user