[td-225] fix compiler error.

This commit is contained in:
Haojun Liao 2021-08-06 10:11:44 +08:00
parent cf73e1f8af
commit 39a96b3ebd
1 changed files with 1 additions and 1 deletions

View File

@ -5290,7 +5290,7 @@ SOperatorInfo *createOrderOperatorInfo(SExprInfo* pExpr, int32_t numOfOutput) {
SSDataBlock* pDataBlock = calloc(1, sizeof(SSDataBlock));
pDataBlock->pDataBlock = taosArrayInit(numOfOutput, sizeof(SColumnInfoData));
for(int32_t i = 0; i < numOfOutput; ++i) {
SColumnInfoData col = {0};
SColumnInfoData col = {{0}};
col.info.bytes = pExpr->base.resBytes;
col.info.colId = pExpr->base.resColId;
col.info.type = pExpr->base.resType;