同步source code

日期: 12-26
    revision: ee5b054c
This commit is contained in:
dengxuyue
2020-12-28 22:19:21 +08:00
parent b7337ff802
commit 1567043064
6076 changed files with 2376818 additions and 741042 deletions

View File

@ -245,8 +245,11 @@ ResultState* ExecInitResult(BaseResult* node, EState* estate, int eflags)
/*
* initialize tuple type and projection info
* no relations are involved in nodeResult, set the default
* tableAm type to HEAP
*/
ExecAssignResultTypeFromTL(&resstate->ps);
ExecAssignResultTypeFromTL(&resstate->ps, TAM_HEAP);
ExecAssignProjectionInfo(&resstate->ps, NULL);
return resstate;
@ -286,7 +289,7 @@ void ExecReScanResult(ResultState* node)
* If chgParam of subnode is not null then plan will be re-scanned by
* first ExecProcNode.
*/
if (node->ps.lefttree && node->ps.lefttree->chgParam == NULL){
if (node->ps.lefttree && node->ps.lefttree->chgParam == NULL) {
ExecReScan(node->ps.lefttree);
}
}
}