mirror of
https://github.com/aljazceru/turso.git
synced 2025-12-28 05:24:22 +01:00
Finish wal transaction handling and add more wal and chkpt testing
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user