Fixed a compile error in db_bench in mac.

Summary:
Fixed a compile error in db_bench in mac.

Test Plan:
make db_bench
main
Yueh-Hsuan Chiang 10 years ago
parent 05d92efa75
commit 6f55798683
  1. 6
      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

Loading…
Cancel
Save