Removed HnswPtrSetNull to avoid setting relptr_off directly

This commit is contained in:
Andrew Kane
2024-01-16 17:08:13 -08:00
parent 1458c7bb2a
commit d801a843f4
4 changed files with 7 additions and 7 deletions

View File

@@ -301,7 +301,7 @@ RepairGraphEntryPoint(HnswVacuumState * vacuumstate)
{
/* Reset neighbors from previous update */
if (highestPoint != NULL)
HnswPtrSetNull(NULL, highestPoint->neighbors);
HnswPtrStore((char *) NULL, highestPoint->neighbors, (HnswNeighborArrayPtr *) NULL);
RepairGraphElement(vacuumstate, entryPoint, highestPoint);
}