From a944afd3565e807eee455d6fb02acd822c63dca4 Mon Sep 17 00:00:00 2001 From: Yueh-Hsuan Chiang Date: Tue, 23 Dec 2014 16:17:53 -0800 Subject: [PATCH] Fixed a compile error in db/db_impl.cc on ROCKSDB_LITE --- db/db_impl.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/db/db_impl.cc b/db/db_impl.cc index 2bafc8f81..2764c8cfd 100644 --- a/db/db_impl.cc +++ b/db/db_impl.cc @@ -1131,6 +1131,7 @@ Status DBImpl::FlushMemTableToOutputFile( void DBImpl::NotifyOnFlushCompleted( ColumnFamilyData* cfd, uint64_t file_number, const MutableCFOptions& mutable_cf_options) { +#ifndef ROCKSDB_LITE if (cfd->ioptions()->listeners.size() == 0U) { return; } @@ -1157,6 +1158,7 @@ void DBImpl::NotifyOnFlushCompleted( assert(notifying_events_ >= 0); // no need to signal bg_cv_ as it will be signaled at the end of the // flush process. +#endif // ROCKSDB_LITE } Status DBImpl::CompactRange(ColumnFamilyHandle* column_family, -- GitLab