Skip to content

Commit

Permalink
remove duplicated and useless remove duplicated and useless
Browse files Browse the repository at this point in the history
close tikv#11297

Signed-off-by: yuqi1129 <yuqi4733@gmail.com>
  • Loading branch information
yuqi1129 committed Nov 12, 2021
1 parent 7b677d6 commit cb32b05
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions components/engine_rocks/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -370,16 +370,6 @@ rocksdb_enum_mod! {recovery_mode_serde DBRecoveryMode {
SkipAnyCorruptedRecords = 3,
}}

rocksdb_enum_mod! {perf_level_serde PerfLevel {
Uninitialized = 0,
Disable = 1,
EnableCount = 2,
EnableTimeExceptForMutex = 3,
EnableTimeAndCPUTimeExceptForMutex = 4,
EnableTime = 5,
OutOfBounds = 6,
}}

#[cfg(test)]
mod tests {
use super::*;
Expand Down

0 comments on commit cb32b05

Please sign in to comment.