mirror of
https://github.com/pgvector/pgvector.git
synced 2026-07-12 15:46:54 +08:00
Added comment [skip ci]
This commit is contained in:
@@ -207,6 +207,7 @@ hnswgettuple(IndexScanDesc scan, ScanDirection dir)
|
|||||||
Datum value = PointerGetDatum(hc->element->vec);
|
Datum value = PointerGetDatum(hc->element->vec);
|
||||||
bool isnull = false;
|
bool isnull = false;
|
||||||
|
|
||||||
|
/* Allocate in temporary context, so no need to free */
|
||||||
scan->xs_itup = index_form_tuple(scan->xs_itupdesc, &value, &isnull);
|
scan->xs_itup = index_form_tuple(scan->xs_itupdesc, &value, &isnull);
|
||||||
scan->xs_itup->t_tid = *heaptid;
|
scan->xs_itup->t_tid = *heaptid;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user