Commit 1f605a95 authored by goroutine's avatar goroutine

typo

parent e4aebfd5
...@@ -440,7 +440,7 @@ impl DB { ...@@ -440,7 +440,7 @@ impl DB {
self.write_opt(batch, &WriteOptions::new()) self.write_opt(batch, &WriteOptions::new())
} }
pub fn write_withou_wal(&self, batch: WriteBatch) -> Result<(), String> { pub fn write_without_wal(&self, batch: WriteBatch) -> Result<(), String> {
let mut wo = WriteOptions::new(); let mut wo = WriteOptions::new();
wo.disable_wal(true); wo.disable_wal(true);
self.write_opt(batch, &wo) self.write_opt(batch, &wo)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment