Fixed insert logic

This commit is contained in:
Andrew Kane
2024-09-30 09:59:12 -07:00
parent 658d74e2f6
commit d148b4e61b

View File

@@ -452,7 +452,7 @@ HnswUpdateNeighborsOnDisk(Relation index, FmgrInfo *procinfo, Oid collation, Hns
*/
/* Select neighbors */
if (neighbors->length < lm)
if (neighborNeighbors->length < lm)
idx = -2;
else
{