initialize candidate count

main
Igor Canadi 11 years ago
parent f5469b1a61
commit f76e4027ca
  1. 2
      db/compaction_picker.cc

@ -653,7 +653,7 @@ Compaction* UniversalCompactionPicker::PickCompactionUniversalReadAmp(
FileMetaData* f = nullptr;
bool done = false;
int start_index = 0;
unsigned int candidate_count;
unsigned int candidate_count = 0;
assert(file_by_time.size() == version->files_[level].size());
unsigned int max_files_to_compact = std::min(max_merge_width,

Loading…
Cancel
Save