diff --git a/db/compaction_picker.cc b/db/compaction_picker.cc index 6ffb00fd3..0937e3ead 100644 --- a/db/compaction_picker.cc +++ b/db/compaction_picker.cc @@ -1154,7 +1154,7 @@ bool LevelCompactionBuilder::SetupOtherInputsIfNeeded() { if (!compaction_picker_->SetupOtherInputs( cf_name_, mutable_cf_options_, vstorage_, &start_level_inputs_, &output_level_inputs_, &parent_index_, base_index_)) { - return nullptr; + return false; } compaction_inputs_.push_back(start_level_inputs_);