TupleTableSlots数据结构及相关函数调用优化

This commit is contained in:
wanghao19920907
2023-02-21 20:29:34 -08:00
parent ddccb0aea5
commit fd1f338af5
48 changed files with 390 additions and 335 deletions

View File

@ -693,8 +693,8 @@ IndexScanState* ExecInitIndexScan(IndexScan* node, EState* estate, int eflags)
/*
* tuple table initialization
*/
ExecInitResultTupleSlot(estate, &index_state->ss.ps, current_relation->rd_tam_type);
ExecInitScanTupleSlot(estate, &index_state->ss, current_relation->rd_tam_type);
ExecInitResultTupleSlot(estate, &index_state->ss.ps, GetTableAmRoutine(current_relation->rd_tam_type));
ExecInitScanTupleSlot(estate, &index_state->ss, GetTableAmRoutine(current_relation->rd_tam_type));
/*
* get the scan type from the relation descriptor.