Skip to content

Commit

Permalink
Fix candidate file comparison when using path ids
Browse files Browse the repository at this point in the history
  • Loading branch information
nbougalis committed Aug 31, 2014
1 parent 7e9f28c commit f09329c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion db/db_impl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f09329c

Please sign in to comment.