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
This commit is contained in:
parent
03cda531e4
commit
cf826de3ed
@ -2837,6 +2837,7 @@ TEST_F(ColumnFamilyTest, CreateDropAndDestroy) {
|
|||||||
ASSERT_OK(db_->DestroyColumnFamilyHandle(cfh));
|
ASSERT_OK(db_->DestroyColumnFamilyHandle(cfh));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef ROCKSDB_LITE
|
||||||
TEST_F(ColumnFamilyTest, CreateDropAndDestroyWithoutFileDeletion) {
|
TEST_F(ColumnFamilyTest, CreateDropAndDestroyWithoutFileDeletion) {
|
||||||
ColumnFamilyHandle* cfh;
|
ColumnFamilyHandle* cfh;
|
||||||
Open();
|
Open();
|
||||||
@ -2848,7 +2849,6 @@ TEST_F(ColumnFamilyTest, CreateDropAndDestroyWithoutFileDeletion) {
|
|||||||
ASSERT_OK(db_->DestroyColumnFamilyHandle(cfh));
|
ASSERT_OK(db_->DestroyColumnFamilyHandle(cfh));
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifndef ROCKSDB_LITE
|
|
||||||
TEST_F(ColumnFamilyTest, FlushCloseWALFiles) {
|
TEST_F(ColumnFamilyTest, FlushCloseWALFiles) {
|
||||||
SpecialEnv env(Env::Default());
|
SpecialEnv env(Env::Default());
|
||||||
db_options_.env = &env;
|
db_options_.env = &env;
|
||||||
|
Loading…
Reference in New Issue
Block a user