Fixed a compile error in db_bench in mac.

Summary:
Fixed a compile error in db_bench in mac.

Test Plan:
make db_bench
This commit is contained in:
Yueh-Hsuan Chiang 2015-03-11 13:02:46 -07:00
parent 05d92efa75
commit 6f55798683

View File

@ -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