diff --git a/env/mock_env.cc b/env/mock_env.cc index c232af61e..9d6438a2c 100644 --- a/env/mock_env.cc +++ b/env/mock_env.cc @@ -601,11 +601,15 @@ IOStatus MockFileSystem::GetAbsolutePath(const std::string& db_path, std::string* output_path, IODebugContext* /*dbg*/) { *output_path = NormalizeMockPath(db_path); +#ifdef OS_WIN + return IOStatus::OK(); // TODO +#else if (output_path->at(0) != '/') { return IOStatus::NotSupported("GetAbsolutePath"); } else { return IOStatus::OK(); } +#endif } std::string MockFileSystem::NormalizeMockPath(const std::string& path) {