Improved code [skip ci]

This commit is contained in:
Andrew Kane
2023-08-10 15:23:26 -07:00
parent 92e25e7733
commit 27ccb5fa7a
3 changed files with 6 additions and 6 deletions

View File

@@ -426,7 +426,7 @@ WriteElement(Relation index, FmgrInfo *procinfo, Oid collation, HnswElement elem
if (entryPoint == NULL && newEntryPoint != NULL)
{
/* Try again with new entry point */
HnswInsertElement(element, newEntryPoint, index, procinfo, collation, m, efConstruction, false);
HnswInsertElement(element, newEntryPoint, index, procinfo, collation, m, efConstruction, true);
UpdateNeighborPages(index, procinfo, collation, element, m);
}
else