[TD-3178]<feature> fix some bug

This commit is contained in:
yihaoDeng 2021-06-11 17:47:33 +08:00
parent b38ebe9a3e
commit eb4b3af18e
1 changed files with 1 additions and 1 deletions

View File

@ -1548,7 +1548,7 @@ int tscBuildCompactMsg(SSqlObj *pSql, SSqlInfo *pInfo) {
STscObj *pObj = pSql->pTscObj;
SSqlCmd *pCmd = &pSql->cmd;
SArray *pList = pInfo->list;
int32_t size = taosArrayGetSize(pList);
int32_t size = (int32_t)taosArrayGetSize(pList);
int32_t *result = malloc(sizeof(int32_t) * size);
if (result == NULL) {