mirror of
https://github.com/pgvector/pgvector.git
synced 2026-07-03 19:20:56 +08:00
Revert "Improved cleanup for IVFFlat index scans [skip ci]"
This reverts commit da7d3959a3.
This commit is contained in:
@@ -170,7 +170,6 @@ GetScanItems(IndexScanDesc scan, Datum value)
|
||||
}
|
||||
}
|
||||
|
||||
ExecDropSingleTupleTableSlot(slot);
|
||||
FreeAccessStrategy(bas);
|
||||
|
||||
if (tuples < 100)
|
||||
@@ -378,9 +377,7 @@ ivfflatendscan(IndexScanDesc scan)
|
||||
IvfflatScanOpaque so = (IvfflatScanOpaque) scan->opaque;
|
||||
|
||||
pairingheap_free(so->listQueue);
|
||||
FreeTupleDesc(so->tupdesc);
|
||||
tuplesort_end(so->sortstate);
|
||||
ExecDropSingleTupleTableSlot(so->slot);
|
||||
|
||||
pfree(so);
|
||||
scan->opaque = NULL;
|
||||
|
||||
Reference in New Issue
Block a user