Fixed a compile error in db/db_impl.cc on ROCKSDB_LITE

This commit is contained in:
Yueh-Hsuan Chiang 2014-12-23 16:17:53 -08:00
parent 7ea7bdf04d
commit a944afd356

View File

@ -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,