mirror of
https://github.com/pgvector/pgvector.git
synced 2026-07-12 07:36:55 +08:00
No need to free [skip ci]
This commit is contained in:
@@ -146,10 +146,6 @@ hnswgettuple(IndexScanDesc scan, ScanDirection dir)
|
|||||||
|
|
||||||
GetScanItems(scan, value);
|
GetScanItems(scan, value);
|
||||||
so->first = false;
|
so->first = false;
|
||||||
|
|
||||||
/* Clean up if we allocated a new value */
|
|
||||||
if (value != scan->orderByData->sk_argument)
|
|
||||||
pfree(DatumGetPointer(value));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
while (list_length(so->w) > 0)
|
while (list_length(so->w) > 0)
|
||||||
@@ -190,7 +186,6 @@ hnswgettuple(IndexScanDesc scan, ScanDirection dir)
|
|||||||
so->buf = ReadBuffer(scan->indexRelation, indexblkno);
|
so->buf = ReadBuffer(scan->indexRelation, indexblkno);
|
||||||
|
|
||||||
scan->xs_recheckorderby = false;
|
scan->xs_recheckorderby = false;
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user