add warning if calculated event id != requested event id

This commit is contained in:
Timo Kösters committed 2021-08-28 19:35:42 +02:00
1 parent afca61fe7c
commit 1601027605
3 files changed
+76 -12

No files matched your search

+2 -3
View File
@@ -93,9 +93,8 @@ impl Engine {
}
pub fn flush_wal(self: &Arc<Self>) -> Result<()> {
// We use autocheckpoints
//self.write_lock()
//.pragma_update(Some(Main), "wal_checkpoint", &"TRUNCATE")?;
self.write_lock()
.pragma_update(Some(Main), "wal_checkpoint", &"TRUNCATE")?;
Ok(())
}
}