diff --git a/tools/db_bench_tool.cc b/tools/db_bench_tool.cc index 1402c68d9..845c29bbb 100644 --- a/tools/db_bench_tool.cc +++ b/tools/db_bench_tool.cc @@ -2044,6 +2044,7 @@ class Benchmark { class ErrorHandlerListener : public EventListener { public: +#ifndef ROCKSDB_LITE ErrorHandlerListener() : mutex_(), cv_(&mutex_), @@ -2085,6 +2086,10 @@ class Benchmark { InstrumentedCondVar cv_; bool no_auto_recovery_; bool recovery_complete_; +#else // ROCKSDB_LITE + bool WaitForRecovery(uint64_t /*abs_time_us*/) { return true; } + void EnableAutoRecovery(bool /*enable*/) {} +#endif // ROCKSDB_LITE }; std::shared_ptr listener_;