add rename and del tag case
This commit is contained in:
parent
6615d19aa7
commit
71a1301034
|
@ -1954,6 +1954,13 @@ static int32_t mndAlterStbAndUpdateTagIdxImp(SMnode *pMnode, SRpcMsg *pReq, SDbO
|
||||||
|
|
||||||
if (mndTrancCheckConflict(pMnode, pTrans) != 0) goto _OVER;
|
if (mndTrancCheckConflict(pMnode, pTrans) != 0) goto _OVER;
|
||||||
|
|
||||||
|
if (needRsp) {
|
||||||
|
void *pCont = NULL;
|
||||||
|
int32_t contLen = 0;
|
||||||
|
if (mndBuildSMAlterStbRsp(pDb, pStb, &pCont, &contLen) != 0) goto _OVER;
|
||||||
|
mndTransSetRpcRsp(pTrans, pCont, contLen);
|
||||||
|
}
|
||||||
|
|
||||||
if (pAlter->alterType == TSDB_ALTER_TABLE_DROP_TAG) {
|
if (pAlter->alterType == TSDB_ALTER_TABLE_DROP_TAG) {
|
||||||
SIdxObj idxObj = {0};
|
SIdxObj idxObj = {0};
|
||||||
SField *pField0 = taosArrayGet(pAlter->pFields, 0);
|
SField *pField0 = taosArrayGet(pAlter->pFields, 0);
|
||||||
|
|
Loading…
Reference in New Issue