Merge pull request #251 from nbougalis/master

Fix candidate file comparison when using path ids
main
Igor Canadi 10 years ago
commit 985a31cf0e
  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) { } else if (first.file_name < second.file_name) {
return false; return false;
} else { } else {
return (first.path_id > first.path_id); return (first.path_id > second.path_id);
} }
} }
}; // namespace }; // namespace

Loading…
Cancel
Save