[td-225]fix compiler error.

This commit is contained in:
Haojun Liao 2021-04-25 23:06:08 +08:00
parent a701b8905f
commit 9ee63a3e48
1 changed files with 1 additions and 1 deletions

View File

@ -664,7 +664,7 @@ SOperatorInfo* createDummyInputOperator(char* pResult, SSchema* pSchema, int32_t
pInfo->block->pDataBlock = taosArrayInit(numOfCols, sizeof(SColumnInfoData));
for(int32_t i = 0; i < numOfCols; ++i) {
SColumnInfoData colData = {0};
SColumnInfoData colData = {{0{}};
colData.info.bytes = pSchema[i].bytes;
colData.info.type = pSchema[i].type;
colData.info.colId = pSchema[i].colId;