simplify cork interface related
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
a1ced0a56f
commit
6dd6e4bfaf
10 changed files with 26 additions and 22 deletions
src/database
|
@ -122,7 +122,7 @@ impl Engine {
|
|||
|
||||
pub fn sync(&self) -> Result<()> { result(DBCommon::flush_wal(&self.db, true)) }
|
||||
|
||||
pub(crate) fn corked(&self) -> bool { self.corks.load(std::sync::atomic::Ordering::Relaxed) > 0 }
|
||||
pub fn corked(&self) -> bool { self.corks.load(std::sync::atomic::Ordering::Relaxed) > 0 }
|
||||
|
||||
pub(crate) fn cork(&self) {
|
||||
self.corks
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue