From 1b230a981d98987933531f087305c6a349d485a8 Mon Sep 17 00:00:00 2001 From: Haojun Liao Date: Wed, 10 Mar 2021 17:59:38 +0800 Subject: [PATCH] [td-2895] refactor. --- src/query/src/qExecutor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/query/src/qExecutor.c b/src/query/src/qExecutor.c index 9f0c0271a3..204730c73e 100644 --- a/src/query/src/qExecutor.c +++ b/src/query/src/qExecutor.c @@ -194,7 +194,7 @@ static SSDataBlock* createOutputBuf(SExprInfo* pExpr, int32_t numOfOutput, int32 res->pDataBlock = taosArrayInit(numOfOutput, sizeof(SColumnInfoData)); for (int32_t i = 0; i < numOfOutput; ++i) { - SColumnInfoData idata = {0}; + SColumnInfoData idata = {{0}}; idata.info.type = pExpr[i].type; idata.info.bytes = pExpr[i].bytes; idata.info.colId = pExpr[i].base.resColId; -- GitLab