diff --git a/src/client/src/tscUtil.c b/src/client/src/tscUtil.c index 568364d8b3871dc405f8b0696a6c821fab4bcbb8..971a95ee3508c6c7f084181eb7c2220540db1314 100644 --- a/src/client/src/tscUtil.c +++ b/src/client/src/tscUtil.c @@ -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;