More fixes for verify index

This commit is contained in:
Ai Lin Chia
2017-03-25 19:55:05 +01:00
parent be45454d0e
commit 339f1a78ff

@ -2337,8 +2337,7 @@ bool RdbList::posdbMerge_r(RdbList **lists, int32_t numLists, const char *startK
gbshutdownCorrupted();
}
// only check index if it's readable
if (base->isReadable(i) && index->exist(docId)) {
if (index->exist(docId)) {
if (i != filePos) {
// docId found in newer file
gbshutdownCorrupted();