Fix candidate file comparison when using path ids

main
Nik Bougalis 10 years ago
parent 7e9f28cb23
commit f09329cb01
  1. 2
      db/db_impl.cc

@ -631,7 +631,7 @@ bool CompareCandidateFile(const rocksdb::DBImpl::CandidateFileInfo& first,
} else if (first.file_name < second.file_name) {
return false;
} else {
return (first.path_id > first.path_id);
return (first.path_id > second.path_id);
}
}
}; // namespace

Loading…
Cancel
Save