This commit is contained in:
Andrew Kane
2024-09-20 14:13:33 -07:00
parent 0af1c7dd55
commit 3dde18a883

View File

@@ -807,8 +807,13 @@ HnswSearchLayer(char *base, Datum q, List *ep, int ef, int lc, Relation index, F
int unvisitedLength;
if (v == NULL)
{
v = &v2;
/* Keep scan-build happy */
initVisited = true;
}
if (initVisited)
InitVisited(base, v, index, ef, m);