mirror of
https://github.com/tursodatabase/limbo.git
synced 2025-08-04 18:18:03 +00:00
sqlite3: Add libsql_wal_frame_count() API
This commit is contained in:
parent
78eb901940
commit
524a523036
6 changed files with 160 additions and 0 deletions
|
@ -486,6 +486,10 @@ impl Connection {
|
|||
Ok(())
|
||||
}
|
||||
|
||||
pub fn wal_frame_count(&self) -> Result<u64> {
|
||||
self.pager.wal_frame_count()
|
||||
}
|
||||
|
||||
pub fn cacheflush(&self) -> Result<CheckpointStatus> {
|
||||
self.pager.cacheflush()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue