Use maxItems 10 [skip ci]

This commit is contained in:
Andrew Kane
2023-04-29 12:20:04 -07:00
parent a3c1eab27a
commit 581ec6bfed

View File

@@ -232,7 +232,7 @@ ivfflatbeginscan(Relation index, int nkeys, int norderbys)
so->listQueue = pairingheap_allocate(CompareLists, scan);
so->maxItems = 1024;
so->maxItems = 10;
so->itemCount = 0;
so->itemQueue = pairingheap_allocate(CompareItems, scan);
so->items = palloc(sizeof(IvfflatScanItem) * (so->maxItems + 1));