mirror of
https://github.com/uowuo/abaddon.git
synced 2026-08-15 05:19:58 +00:00
fix corrupted disk image sqlite error (fixes #51)
This commit is contained in:
1 parent
af3d278825
commit
2690febf20
1 file changed
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user