Fix candidate file comparison when using path ids

This commit is contained in:
Nik Bougalis 2014-08-31 00:54:15 -07:00
parent 7e9f28cb23
commit f09329cb01

View File

@ -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