mirror of
https://github.com/pgvector/pgvector.git
synced 2026-06-06 05:51:21 +08:00
Fixed insert logic
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user