mirror of
https://github.com/pgvector/pgvector.git
synced 2026-12-04 00:08:30 +00:00
Added assertion to GetScanLists [skip ci]
This commit is contained in:
1 parent
3ab695b372
commit
b3dfd925fa
1 file changed
+2
@@ -135,6 +135,8 @@ GetScanLists(IndexScanDesc scan, Datum value)
|
||||
UnlockReleaseBuffer(cbuf);
|
||||
}
|
||||
|
||||
Assert(so->listsCount == so->maxProbes);
|
||||
|
||||
qsort(so->lists, so->listsCount, sizeof(IvfflatScanList), CompareListsSort);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user