Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions libsql-sys/src/wal/ffi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -446,8 +446,8 @@ pub unsafe extern "C" fn checkpoint<T: Wal>(
_ => panic!("invalid checkpoint mode"),
};

let in_wal = (!frames_in_wal_out.is_null()).then_some(&mut *frames_in_wal_out);
let backfilled = (!checkpointed_frames_out.is_null()).then_some(&mut *checkpointed_frames_out);
let in_wal = (!frames_in_wal_out.is_null()).then(|| &mut *frames_in_wal_out);
let backfilled = (!checkpointed_frames_out.is_null()).then(|| &mut *checkpointed_frames_out);
let mut db = Sqlite3Db { inner: db };
match this.checkpoint(
&mut db,
Expand Down
Loading