mirror of
https://github.com/aljazceru/turso.git
synced 2025-12-17 16:44:19 +01:00
add optional upper_bound_inclusive parameter to some checkpoint modes
- will be used in sync-engine protocol
This commit is contained in:
@@ -287,7 +287,9 @@ fn test_wal_checkpoint() -> anyhow::Result<()> {
|
||||
for i in 0..iterations {
|
||||
let insert_query = format!("INSERT INTO test VALUES ({i})");
|
||||
do_flush(&conn, &tmp_db)?;
|
||||
conn.checkpoint(CheckpointMode::Passive)?;
|
||||
conn.checkpoint(CheckpointMode::Passive {
|
||||
upper_bound_inclusive: None,
|
||||
})?;
|
||||
run_query(&tmp_db, &conn, &insert_query)?;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user