From 76d77205dacf6299b8345b11df375fbeafbfa5d3 Mon Sep 17 00:00:00 2001 From: Zhichao Cao Date: Fri, 10 Aug 2018 17:23:25 -0700 Subject: [PATCH] Remove the redundant condition inclusion to avoid confusion (#4254) Summary: The pair of ROCKSDB_LITE condition inclusion is redundant, it is already inside the #ifndef ROCKSDB_LITE. Remove them to void confusion. Tested by make asan_check. Pull Request resolved: https://github.com/facebook/rocksdb/pull/4254 Differential Revision: D9281652 Pulled By: zhichao-cao fbshipit-source-id: 06bf7641ede71391f21f6a3fe37fbd13f0e2a43a --- db/db_impl.cc | 3 --- 1 file changed, 3 deletions(-) diff --git a/db/db_impl.cc b/db/db_impl.cc index 1aeb5ab68..65e0c4597 100644 --- a/db/db_impl.cc +++ b/db/db_impl.cc @@ -3091,7 +3091,6 @@ Status DBImpl::VerifyChecksum() { void DBImpl::NotifyOnExternalFileIngested( ColumnFamilyData* cfd, const ExternalSstFileIngestionJob& ingestion_job) { -#ifndef ROCKSDB_LITE if (immutable_db_options_.listeners.empty()) { return; } @@ -3107,8 +3106,6 @@ void DBImpl::NotifyOnExternalFileIngested( listener->OnExternalFileIngested(this, info); } } - -#endif } void DBImpl::WaitForIngestFile() {