feat: ensure that WAL is truncated after checkpoint

This commit is contained in:
Greg Heartsfield 2022-09-10 19:18:57 -05:00
parent 2b03f11e5e
commit 08b011ad07

View File

@ -13,6 +13,7 @@ use std::time::Instant;
pub const STARTUP_SQL: &str = r##"
PRAGMA main.synchronous=NORMAL;
PRAGMA foreign_keys = ON;
PRAGMA journal_size_limit=32768;
pragma mmap_size = 536870912; -- 512MB of mmap
"##;