delete shm file after converting to DELETE journal mode

This commit is contained in:
John Rommel Estropia
2017-11-19 15:34:09 +09:00
parent 583c6b7249
commit 15e5e4fdf6

View File

@@ -219,6 +219,7 @@ public final class SQLiteStore: LocalStorage {
options: [NSSQLitePragmasOption: ["journal_mode": "DELETE"]]
)
}
_ = try? FileManager.default.removeItem(atPath: "\(self.fileURL.path)-shm")
}
/**