Unit test corruption_test do not compile.

Summary: Unit test corruption_test do not compile.

Test Plan: run unit tests

Reviewers: heyongqiang

Reviewed By: heyongqiang

Differential Revision: https://reviews.facebook.net/D4797
main
Dhruba Borthakur 13 years ago
parent f4e7febf22
commit 407f020929
  1. 11
      include/leveldb/env.h

@ -324,6 +324,17 @@ class EnvWrapper : public Env {
void SleepForMicroseconds(int micros) {
target_->SleepForMicroseconds(micros);
}
Status GetHostName(char* name, uint len) {
return target_->GetHostName(name, len);
}
Status GetCurrentTime(int64_t* unix_time) {
return target_->GetCurrentTime(unix_time);
}
Status GetAbsolutePath(const std::string& db_path,
std::string* output_path) {
return target_->GetAbsolutePath(db_path, output_path);
}
private:
Env* target_;
};

Loading…
Cancel
Save