提交 472d3a34 编写于 作者: H Hongze Cheng

fix a bug

上级 81525419
...@@ -2061,8 +2061,8 @@ int32_t tColDataCopy(SColData *pColDataFrom, SColData *pColData, xMallocFn xMall ...@@ -2061,8 +2061,8 @@ int32_t tColDataCopy(SColData *pColDataFrom, SColData *pColData, xMallocFn xMall
} }
// value // value
if (pColData->nVal) { if (pColData->nData) {
pColData->pData = xMalloc(arg, pColData->nVal); pColData->pData = xMalloc(arg, pColData->nData);
if (pColData->pData == NULL) { if (pColData->pData == NULL) {
code = TSDB_CODE_OUT_OF_MEMORY; code = TSDB_CODE_OUT_OF_MEMORY;
goto _exit; goto _exit;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册