Switched HnswElementTuple to generic data and zero full section

This commit is contained in:
Andrew Kane
2023-11-09 18:28:25 -08:00
parent fbb904ae2f
commit d078db3d25
3 changed files with 7 additions and 7 deletions

View File

@@ -530,7 +530,7 @@ MarkDeleted(HnswVacuumState * vacuumstate)
/* Overwrite element */
etup->deleted = 1;
MemSet(&etup->vec.x, 0, etup->vec.dim * sizeof(float));
MemSet(&etup->data, 0, VARSIZE_ANY(&etup->data));
/* Overwrite neighbors */
for (int i = 0; i < ntup->count; i++)