Removed lc from HnswUpdateConnection [skip ci]

This commit is contained in:
Andrew Kane
2024-09-29 18:18:42 -07:00
parent f371eb119b
commit 5ce367e18b
4 changed files with 4 additions and 5 deletions

View File

@@ -388,7 +388,7 @@ UpdateNeighborsInMemory(char *base, FmgrInfo *procinfo, Oid collation, HnswEleme
Assert(neighborElement);
LWLockAcquire(&neighborElement->lock, LW_EXCLUSIVE);
HnswUpdateConnection(base, e, hc, lm, lc, NULL, NULL, procinfo, collation);
HnswUpdateConnection(base, e, hc, HnswGetNeighbors(base, neighborElement, lc), lm, NULL, NULL, procinfo, collation);
LWLockRelease(&neighborElement->lock);
}
}