Fix lite build
Summary: Fix rocksdb lite build after D56715. Test Plan: make -j40 'OPT=-g -DROCKSDB_LITE' Reviewers: sdong Reviewed By: sdong Subscribers: andrewkr, dhruba, leveldb Differential Revision: https://reviews.facebook.net/D56895
This commit is contained in:
parent
23089fd281
commit
290883d94a
@ -492,6 +492,7 @@ class SpecialEnv : public EnvWrapper {
|
|||||||
std::atomic<bool> is_wal_sync_thread_safe_{true};
|
std::atomic<bool> is_wal_sync_thread_safe_{true};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#ifndef ROCKSDB_LITE
|
||||||
class OnFileDeletionListener : public EventListener {
|
class OnFileDeletionListener : public EventListener {
|
||||||
public:
|
public:
|
||||||
OnFileDeletionListener() : matched_count_(0), expected_file_name_("") {}
|
OnFileDeletionListener() : matched_count_(0), expected_file_name_("") {}
|
||||||
@ -516,6 +517,7 @@ class OnFileDeletionListener : public EventListener {
|
|||||||
size_t matched_count_;
|
size_t matched_count_;
|
||||||
std::string expected_file_name_;
|
std::string expected_file_name_;
|
||||||
};
|
};
|
||||||
|
#endif
|
||||||
|
|
||||||
class DBTestBase : public testing::Test {
|
class DBTestBase : public testing::Test {
|
||||||
protected:
|
protected:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user