[td-13039] refactor.

This commit is contained in:
Haojun Liao 2022-03-29 13:37:14 +08:00
parent bdbb984894
commit 0ae4bab0ab
1 changed files with 3 additions and 3 deletions

View File

@ -8775,10 +8775,10 @@ SArray* extractColMatchInfo(SNodeList* pNodeList, SDataBlockDescNode* pOutputNod
for(int32_t i = 0; i < num; ++i) {
SSlotDescNode* pNode = (SSlotDescNode*) nodesListGetNode(pOutputNodeList->pSlots, i);
SColMatchInfo* info = taosArrayGet(pList, pNode->slotId);
if (!pNode->output) {
info->output = false;
} else {
if (pNode->output) {
(*numOfOutputCols) += 1;
} else {
info->output = false;
}
}