Commit 214c3d21 authored by zhangjinpeng1987's avatar zhangjinpeng1987 Committed by siddontang

add PartialEq for enum type DBRecoveryMode (#36)

parent a28cf6e0
...@@ -96,7 +96,7 @@ pub enum DBUniversalCompactionStyle { ...@@ -96,7 +96,7 @@ pub enum DBUniversalCompactionStyle {
rocksdb_total_size_compaction_stop_style = 1, rocksdb_total_size_compaction_stop_style = 1,
} }
#[derive(Copy, Clone)] #[derive(Copy, Clone, PartialEq)]
#[repr(C)] #[repr(C)]
pub enum DBRecoveryMode { pub enum DBRecoveryMode {
TolerateCorruptedTailRecords = 0, TolerateCorruptedTailRecords = 0,
......
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