diff --git a/source/libs/executor/src/executil.c b/source/libs/executor/src/executil.c index 8679fa129754908c4bdac4f4345729c99e3a8c89..bd24dd0315208422a82983bbf9a9891c807fdde0 100644 --- a/source/libs/executor/src/executil.c +++ b/source/libs/executor/src/executil.c @@ -770,12 +770,12 @@ static int32_t optimizeTbnameInCond(void* metaHandle, int64_t suid, SArray* list bool hasTbnameCond = false; SLogicConditionNode* pNode = (SLogicConditionNode*)cond; - SNodeListNode* pList = (SNodeListNode*)pNode->pParameterList; + SNodeList* pList = (SNodeList*)pNode->pParameterList; - int32_t len = LIST_LENGTH(pList->pNodeList); + int32_t len = LIST_LENGTH(pList); if (len <= 0) return -1; - SListCell* cell = pList->pNodeList->pHead; + SListCell* cell = pList->pHead; for (int i = 0; i < len; i++) { if (cell == NULL) break; if (optimizeTbnameInCondImpl(metaHandle, suid, list, cell->pNode) == 0) {