From f3eea39324f0497de1039f7c786f0794ff5f3d8f Mon Sep 17 00:00:00 2001 From: Haojun Liao Date: Tue, 15 Dec 2020 18:21:18 +0800 Subject: [PATCH] [TD-225] fix compiler error. --- src/client/src/tscSQLParser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/src/tscSQLParser.c b/src/client/src/tscSQLParser.c index 6cd06c401c..5d748528ac 100644 --- a/src/client/src/tscSQLParser.c +++ b/src/client/src/tscSQLParser.c @@ -6157,7 +6157,7 @@ int32_t doCheckForCreateFromStable(SSqlObj* pSql, SSqlInfo* pInfo) { STableMetaInfo* pStableMetaInfo = tscGetMetaInfo(pQueryInfo, STABLE_INDEX); // super table name, create table by using dst - int32_t numOfTables = taosArrayGetSize(pCreateTable->childTableInfo); + int32_t numOfTables = (int32_t) taosArrayGetSize(pCreateTable->childTableInfo); for(int32_t j = 0; j < numOfTables; ++j) { SCreatedTableInfo* pCreateTableInfo = taosArrayGet(pCreateTable->childTableInfo, j); -- GitLab