fix:fix error in updata tag

This commit is contained in:
wangmm0220 2022-06-02 14:16:46 +08:00
parent 478fa8b601
commit 7b4d4e8b93
1 changed files with 1 additions and 1 deletions

View File

@ -584,7 +584,7 @@ static int metaUpdateTableTagVal(SMeta *pMeta, int64_t version, SVAlterTbReq *pA
}
taosArrayPush(pTagArray, &val);
} else {
STagVal val = {0};
STagVal val = {.cid = pCol->colId};
if (tTagGet(pOldTag, &val)) {
taosArrayPush(pTagArray, &val);
}