mirror of
https://github.com/aljazceru/turso.git
synced 2026-01-31 05:44:25 +01:00
Add new mvcc_checkpoint_threshold pragma name
This commit is contained in:
@@ -127,6 +127,10 @@ pub fn pragma_for(pragma: &PragmaName) -> Pragma {
|
||||
PragmaFlags::Result0 | PragmaFlags::SchemaReq | PragmaFlags::NoColumns1,
|
||||
&["cipher"],
|
||||
),
|
||||
PragmaName::MvccCheckpointThreshold => Pragma::new(
|
||||
PragmaFlags::NoColumns1 | PragmaFlags::Result0,
|
||||
&["mvcc_checkpoint_threshold"],
|
||||
),
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1449,6 +1449,8 @@ pub enum PragmaName {
|
||||
UserVersion,
|
||||
/// trigger a checkpoint to run on database(s) if WAL is enabled
|
||||
WalCheckpoint,
|
||||
/// Sets or queries the threshold (in bytes) at which MVCC triggers an automatic checkpoint.
|
||||
MvccCheckpointThreshold,
|
||||
}
|
||||
|
||||
/// `CREATE TRIGGER` time
|
||||
|
||||
Reference in New Issue
Block a user