From 6f557986830536dc0a1cdc223973fdc73bbfc5ba Mon Sep 17 00:00:00 2001 From: Yueh-Hsuan Chiang Date: Wed, 11 Mar 2015 13:02:46 -0700 Subject: [PATCH] Fixed a compile error in db_bench in mac. Summary: Fixed a compile error in db_bench in mac. Test Plan: make db_bench --- util/thread_status_impl.cc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/util/thread_status_impl.cc b/util/thread_status_impl.cc index af8777e0f..007031106 100644 --- a/util/thread_status_impl.cc +++ b/util/thread_status_impl.cc @@ -56,5 +56,11 @@ const std::string& ThreadStatus::GetStateName( return dummy_str; } +const std::string ThreadStatus::TimeToString( + int64_t time) { + static std::string dummy_str = ""; + return dummy_str; +} + #endif // ROCKSDB_USING_THREAD_STATUS } // namespace rocksdb