Removed unneeded check [skip ci]

This commit is contained in:
Andrew Kane committed 2026-06-10 11:55:31 -07:00
1 parent 73890f2f70
commit cd431c51ca
1 file changed
-3
-3
View File
@@ -332,9 +332,6 @@ hnswgetbatch(IndexScanDesc scan, IndexScanBatch priorbatch, ScanDirection dir)
nitems++;
}
if (nitems == 0)
break;
MemoryContextSwitchTo(oldCtx);
batch->firstItem = 0;