Finish wal transaction handling and add more wal and chkpt testing

This commit is contained in:
PThorpe92
2025-07-29 11:19:21 -04:00
committed by Jussi Saurio
parent 8806b77d26
commit 2c3a9fe5ef
7 changed files with 379 additions and 138 deletions

View File

@@ -731,7 +731,8 @@ impl turso_core::DatabaseStorage for DatabaseFile {
len: usize,
c: turso_core::Completion,
) -> turso_core::Result<turso_core::Completion> {
self.file.truncate(len, c)
let c = self.file.truncate(len, c)?;
Ok(c)
}
}