Fix unity test (#6178)

Summary:
Fix the test failure.
Pull Request resolved: https://github.com/facebook/rocksdb/pull/6178

Differential Revision: D19071208

Pulled By: maysamyabandeh

fbshipit-source-id: 71622832ac93ff2663946c546d9642d5b9e3d194
This commit is contained in:
anand76 2019-12-14 15:38:04 -08:00 committed by Facebook Github Bot
parent 4b97812da8
commit ad34faba15

10
env/env_posix.cc vendored
View File

@ -99,16 +99,6 @@ ThreadStatusUpdater* CreateThreadStatusUpdater() {
return new ThreadStatusUpdater();
}
// list of pathnames that are locked
static std::set<std::string> lockedFiles;
static port::Mutex mutex_lockedFiles;
class PosixFileLock : public FileLock {
public:
int fd_;
std::string filename;
};
#ifndef ROCKSDB_NO_DYNAMIC_EXTENSION
class PosixDynamicLibrary : public DynamicLibrary {
public: