Skip to content

Commit

Permalink
Merge pull request XRPLF#251 from nbougalis/master
Browse files Browse the repository at this point in the history
Fix candidate file comparison when using path ids
  • Loading branch information
igorcanadi committed Aug 31, 2014
2 parents 7e9f28c + f09329c commit 985a31c
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 985a31c

Please sign in to comment.