[TD-3178]<feature> fix some bug
This commit is contained in:
parent
b38ebe9a3e
commit
eb4b3af18e
|
@ -1548,7 +1548,7 @@ int tscBuildCompactMsg(SSqlObj *pSql, SSqlInfo *pInfo) {
|
||||||
STscObj *pObj = pSql->pTscObj;
|
STscObj *pObj = pSql->pTscObj;
|
||||||
SSqlCmd *pCmd = &pSql->cmd;
|
SSqlCmd *pCmd = &pSql->cmd;
|
||||||
SArray *pList = pInfo->list;
|
SArray *pList = pInfo->list;
|
||||||
int32_t size = taosArrayGetSize(pList);
|
int32_t size = (int32_t)taosArrayGetSize(pList);
|
||||||
|
|
||||||
int32_t *result = malloc(sizeof(int32_t) * size);
|
int32_t *result = malloc(sizeof(int32_t) * size);
|
||||||
if (result == NULL) {
|
if (result == NULL) {
|
||||||
|
|
Loading…
Reference in New Issue