提交 7b4d4e8b 编写于 作者: wmmhello's avatar wmmhello

fix:fix error in updata tag

上级 478fa8b6
...@@ -584,7 +584,7 @@ static int metaUpdateTableTagVal(SMeta *pMeta, int64_t version, SVAlterTbReq *pA ...@@ -584,7 +584,7 @@ static int metaUpdateTableTagVal(SMeta *pMeta, int64_t version, SVAlterTbReq *pA
} }
taosArrayPush(pTagArray, &val); taosArrayPush(pTagArray, &val);
} else { } else {
STagVal val = {0}; STagVal val = {.cid = pCol->colId};
if (tTagGet(pOldTag, &val)) { if (tTagGet(pOldTag, &val)) {
taosArrayPush(pTagArray, &val); taosArrayPush(pTagArray, &val);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册