Skip to content

Commit

Permalink
Fix forward compatibility issue when compiling with master rocksdb (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
wenhaocs authored Sep 24, 2021
1 parent 6fa47a4 commit 21c1b5c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/kvstore/EventListener.h
Original file line number Diff line number Diff line change
Expand Up @@ -210,8 +210,9 @@ class EventListener : public rocksdb::EventListener {
return "PeriodicCompaction";
case rocksdb::CompactionReason::kNumOfReasons:
return "NumOfReasons";
default:
return "Unknown";
}
return "Unknown";
}

std::string flushReasonString(const rocksdb::FlushReason& reason) {
Expand Down

0 comments on commit 21c1b5c

Please sign in to comment.