From cf826de3edcc359b90e3c3728569b2427c347654 Mon Sep 17 00:00:00 2001 From: Yanqin Jin Date: Tue, 29 May 2018 12:26:57 -0700 Subject: [PATCH] Fix compilation error when OPT="-DROCKSDB_LITE". Summary: Closes https://github.com/facebook/rocksdb/pull/3917 Differential Revision: D8187733 Pulled By: riversand963 fbshipit-source-id: e4aa179cd0791ca77167e357f99de9afd4aef910 --- db/column_family_test.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/column_family_test.cc b/db/column_family_test.cc index 1d5619995..220abebe7 100644 --- a/db/column_family_test.cc +++ b/db/column_family_test.cc @@ -2837,6 +2837,7 @@ TEST_F(ColumnFamilyTest, CreateDropAndDestroy) { ASSERT_OK(db_->DestroyColumnFamilyHandle(cfh)); } +#ifndef ROCKSDB_LITE TEST_F(ColumnFamilyTest, CreateDropAndDestroyWithoutFileDeletion) { ColumnFamilyHandle* cfh; Open(); @@ -2848,7 +2849,6 @@ TEST_F(ColumnFamilyTest, CreateDropAndDestroyWithoutFileDeletion) { ASSERT_OK(db_->DestroyColumnFamilyHandle(cfh)); } -#ifndef ROCKSDB_LITE TEST_F(ColumnFamilyTest, FlushCloseWALFiles) { SpecialEnv env(Env::Default()); db_options_.env = &env;