From f09329cb017a4d401b341880304a48aacc5d0841 Mon Sep 17 00:00:00 2001 From: Nik Bougalis Date: Sun, 31 Aug 2014 00:54:15 -0700 Subject: [PATCH] Fix candidate file comparison when using path ids --- db/db_impl.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/db_impl.cc b/db/db_impl.cc index 9cb09d719..16622758f 100644 --- a/db/db_impl.cc +++ b/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