From 9ee63a3e480d00b8d08be2cac9ddaf34b52ad90d Mon Sep 17 00:00:00 2001 From: Haojun Liao Date: Sun, 25 Apr 2021 23:06:08 +0800 Subject: [PATCH] [td-225]fix compiler error. --- src/client/src/tscUtil.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/src/tscUtil.c b/src/client/src/tscUtil.c index 568364d8b3..971a95ee35 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; -- GitLab