fix corrupted disk image sqlite error (fixes #51)

This commit is contained in:
ouwou committed 2021-11-29 21:51:15 -05:00
1 parent af3d278825
commit 2690febf20
1 file changed
+1 -1
+1 -1
View File
@@ -15,7 +15,7 @@ Store::Store(bool mem_store)
m_db.Execute(R"(
PRAGMA writable_schema = 1;
DELETE FROM sqlite_master;
DELETE FROM sqlite_master WHERE TYPE IN ("view", "table", "index", "trigger");
PRAGMA writable_schema = 0;
VACUUM;
PRAGMA integrity_check;