提交 a944afd3 编写于 作者: Y Yueh-Hsuan Chiang

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

上级 7ea7bdf0
...@@ -1131,6 +1131,7 @@ Status DBImpl::FlushMemTableToOutputFile( ...@@ -1131,6 +1131,7 @@ Status DBImpl::FlushMemTableToOutputFile(
void DBImpl::NotifyOnFlushCompleted( void DBImpl::NotifyOnFlushCompleted(
ColumnFamilyData* cfd, uint64_t file_number, ColumnFamilyData* cfd, uint64_t file_number,
const MutableCFOptions& mutable_cf_options) { const MutableCFOptions& mutable_cf_options) {
#ifndef ROCKSDB_LITE
if (cfd->ioptions()->listeners.size() == 0U) { if (cfd->ioptions()->listeners.size() == 0U) {
return; return;
} }
...@@ -1157,6 +1158,7 @@ void DBImpl::NotifyOnFlushCompleted( ...@@ -1157,6 +1158,7 @@ void DBImpl::NotifyOnFlushCompleted(
assert(notifying_events_ >= 0); assert(notifying_events_ >= 0);
// no need to signal bg_cv_ as it will be signaled at the end of the // no need to signal bg_cv_ as it will be signaled at the end of the
// flush process. // flush process.
#endif // ROCKSDB_LITE
} }
Status DBImpl::CompactRange(ColumnFamilyHandle* column_family, Status DBImpl::CompactRange(ColumnFamilyHandle* column_family,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册