Removed unneeded check [skip ci]

This commit is contained in:
Andrew Kane
2026-06-10 11:55:31 -07:00
parent 73890f2f70
commit cd431c51ca

View File

@@ -332,9 +332,6 @@ hnswgetbatch(IndexScanDesc scan, IndexScanBatch priorbatch, ScanDirection dir)
nitems++;
}
if (nitems == 0)
break;
MemoryContextSwitchTo(oldCtx);
batch->firstItem = 0;