mirror of
https://github.com/aljazceru/turso.git
synced 2026-01-24 18:34:34 +01:00
Allow using !passive checkpoint methods in pragma wal_checkpoint
This commit is contained in:
@@ -344,12 +344,6 @@ fn query_pragma(
|
||||
_ => CheckpointMode::Passive,
|
||||
};
|
||||
|
||||
if !matches!(mode, CheckpointMode::Passive) {
|
||||
return Err(LimboError::ParseError(
|
||||
"only Passive mode supported".to_string(),
|
||||
));
|
||||
}
|
||||
|
||||
program.alloc_registers(2);
|
||||
program.emit_insn(Insn::Checkpoint {
|
||||
database: 0,
|
||||
|
||||
Reference in New Issue
Block a user