mirror of
https://github.com/pgvector/pgvector.git
synced 2026-06-06 14:01:31 +08:00
Renamed InitSortState to InitScanSortState [skip ci]
This commit is contained in:
@@ -222,10 +222,10 @@ GetScanValue(IndexScanDesc scan)
|
||||
}
|
||||
|
||||
/*
|
||||
* Initialize sort state
|
||||
* Initialize scan sort state
|
||||
*/
|
||||
static Tuplesortstate *
|
||||
InitSortState(TupleDesc tupdesc)
|
||||
InitScanSortState(TupleDesc tupdesc)
|
||||
{
|
||||
AttrNumber attNums[] = {1};
|
||||
Oid sortOperators[] = {Float8LessOperator};
|
||||
@@ -272,7 +272,7 @@ ivfflatbeginscan(Relation index, int nkeys, int norderbys)
|
||||
TupleDescInitEntry(so->tupdesc, (AttrNumber) 2, "heaptid", TIDOID, -1, 0);
|
||||
|
||||
/* Prep sort */
|
||||
so->sortstate = InitSortState(so->tupdesc);
|
||||
so->sortstate = InitScanSortState(so->tupdesc);
|
||||
|
||||
so->slot = MakeSingleTupleTableSlot(so->tupdesc, &TTSOpsMinimalTuple);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user