fix io submission on cacheflush

This commit is contained in:
Pere Diaz Bou 2024-11-06 16:25:42 +00:00
parent 8eb3c89227
commit eb8c462c5f
4 changed files with 36 additions and 12 deletions

View file

@ -269,9 +269,8 @@ impl Connection {
Ok(())
}
pub fn cacheflush(&self) -> Result<()> {
self.pager.cacheflush()?;
Ok(())
pub fn cacheflush(&self) -> Result<CheckpointStatus> {
self.pager.cacheflush()
}
pub fn clear_page_cache(&self) -> Result<()> {