提交 b55331ca 编写于 作者: H Hongze Cheng

more

上级 806ba2cd
......@@ -677,7 +677,7 @@ int32_t tTagToValArray(STag *pTag, SArray **ppArray) {
uint8_t *p = (uint8_t *)&pTag->idx[pTag->nTag];
STagVal tv;
(*ppArray) = taosArrayInit(pTag->nTag, sizeof(STagVal));
(*ppArray) = taosArrayInit(pTag->nTag + 1, sizeof(STagVal));
if (*ppArray == NULL) {
code = TSDB_CODE_OUT_OF_MEMORY;
goto _err;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册