mirror of
https://github.com/pgvector/pgvector.git
synced 2026-07-13 16:16:56 +08:00
Fixed warning
This commit is contained in:
@@ -319,9 +319,9 @@ UpdateNeighborPages(Relation index, FmgrInfo *procinfo, Oid collation, HnswEleme
|
|||||||
{
|
{
|
||||||
/* Find free offset if still exists */
|
/* Find free offset if still exists */
|
||||||
/* TODO Retry updating connections if not */
|
/* TODO Retry updating connections if not */
|
||||||
for (int i = 0; i < lm; i++)
|
for (int j = 0; j < lm; j++)
|
||||||
if (!ItemPointerIsValid(&ntup->indextids[startIdx + i]))
|
if (!ItemPointerIsValid(&ntup->indextids[startIdx + j]))
|
||||||
idx = startIdx + i;
|
idx = startIdx + j;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
idx += startIdx;
|
idx += startIdx;
|
||||||
|
|||||||
Reference in New Issue
Block a user