提交 39a96b3e 编写于 作者: H Haojun Liao

[td-225] fix compiler error.

上级 cf73e1f8
...@@ -5290,7 +5290,7 @@ SOperatorInfo *createOrderOperatorInfo(SExprInfo* pExpr, int32_t numOfOutput) { ...@@ -5290,7 +5290,7 @@ SOperatorInfo *createOrderOperatorInfo(SExprInfo* pExpr, int32_t numOfOutput) {
SSDataBlock* pDataBlock = calloc(1, sizeof(SSDataBlock)); SSDataBlock* pDataBlock = calloc(1, sizeof(SSDataBlock));
pDataBlock->pDataBlock = taosArrayInit(numOfOutput, sizeof(SColumnInfoData)); pDataBlock->pDataBlock = taosArrayInit(numOfOutput, sizeof(SColumnInfoData));
for(int32_t i = 0; i < numOfOutput; ++i) { for(int32_t i = 0; i < numOfOutput; ++i) {
SColumnInfoData col = {0}; SColumnInfoData col = {{0}};
col.info.bytes = pExpr->base.resBytes; col.info.bytes = pExpr->base.resBytes;
col.info.colId = pExpr->base.resColId; col.info.colId = pExpr->base.resColId;
col.info.type = pExpr->base.resType; col.info.type = pExpr->base.resType;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册