From 290883d94aa82d60bca41fd84be8a5fa843dc0c6 Mon Sep 17 00:00:00 2001 From: Yi Wu Date: Mon, 18 Apr 2016 10:47:10 -0700 Subject: [PATCH] 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 --- db/db_test_util.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/db/db_test_util.h b/db/db_test_util.h index adda26230..0ece8a766 100644 --- a/db/db_test_util.h +++ b/db/db_test_util.h @@ -492,6 +492,7 @@ class SpecialEnv : public EnvWrapper { std::atomic is_wal_sync_thread_safe_{true}; }; +#ifndef ROCKSDB_LITE class OnFileDeletionListener : public EventListener { public: OnFileDeletionListener() : matched_count_(0), expected_file_name_("") {} @@ -516,6 +517,7 @@ class OnFileDeletionListener : public EventListener { size_t matched_count_; std::string expected_file_name_; }; +#endif class DBTestBase : public testing::Test { protected: