|
|
@ -434,7 +434,7 @@ impl DB { |
|
|
|
self.write_opt(batch, &WriteOptions::default()) |
|
|
|
self.write_opt(batch, &WriteOptions::default()) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
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) |
|
|
|