From 12bd5e2700f4da55ca60841e28ceaf9e46f0fc67 Mon Sep 17 00:00:00 2001 From: yihaoDeng Date: Wed, 7 Jul 2021 06:01:22 +0800 Subject: [PATCH] merge develop --- src/client/src/tscServer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/src/tscServer.c b/src/client/src/tscServer.c index cd6c503acb..fd2744a153 100644 --- a/src/client/src/tscServer.c +++ b/src/client/src/tscServer.c @@ -2676,7 +2676,7 @@ int32_t getMultiTableMetaFromMnode(SSqlObj *pSql, SArray* pNameList, SArray* pVg int32_t numOfTable = (int32_t) taosArrayGetSize(pNameList); int32_t numOfVgroupList = (int32_t) taosArrayGetSize(pVgroupNameList); - int32_t numOfUdf = pUdfList ? taosArrayGetSize(pUdfList) : 0; + int32_t numOfUdf = pUdfList ? (int32_t)taosArrayGetSize(pUdfList) : 0; int32_t size = (numOfTable + numOfVgroupList) * TSDB_TABLE_FNAME_LEN + TSDB_FUNC_NAME_LEN * numOfUdf + sizeof(SMultiTableInfoMsg); if (TSDB_CODE_SUCCESS != tscAllocPayload(&pNew->cmd, size)) {