Fixed list assignment for cosine distance and non-normalized vectors for IVFFlat

This commit is contained in:
Andrew Kane
2024-10-10 12:54:13 -07:00
parent 772ab69de6
commit 7d2eb49c2a
2 changed files with 2 additions and 1 deletions

View File

@@ -100,7 +100,7 @@ InsertTuple(Relation index, Datum *values, bool *isnull, ItemPointer heap_tid, R
IvfflatGetMetaPageInfo(index, NULL, NULL);
/* Find the insert page - sets the page and list info */
FindInsertPage(index, values, &insertPage, &listInfo);
FindInsertPage(index, &value, &insertPage, &listInfo);
Assert(BlockNumberIsValid(insertPage));
originalInsertPage = insertPage;