From 407f020929e0ef6758e280cb551ab7f47ce49114 Mon Sep 17 00:00:00 2001 From: Dhruba Borthakur Date: Tue, 21 Aug 2012 15:43:52 -0700 Subject: [PATCH] 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 --- include/leveldb/env.h | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/include/leveldb/env.h b/include/leveldb/env.h index 53438ec34..378212ab0 100644 --- a/include/leveldb/env.h +++ b/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_; };