From 5a65b1977ed39a54c518f5bc5ae85e1fddafc5c0 Mon Sep 17 00:00:00 2001 From: yihaoDeng Date: Tue, 26 Nov 2024 09:03:00 +0800 Subject: [PATCH] refactor code --- source/common/src/tmsg.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/common/src/tmsg.c b/source/common/src/tmsg.c index a9883e7f6c..d51c981331 100644 --- a/source/common/src/tmsg.c +++ b/source/common/src/tmsg.c @@ -10592,7 +10592,7 @@ static int32_t tDecodeSVAlterTbReqCommon(SDecoder *pDecoder, SVAlterTbReq *pReq) TAOS_CHECK_EXIT(tDecodeBinary(pDecoder, &pReq->pTagVal, &pReq->nTagVal)); } break; - case TSDB_ALTER_TABLE_UPDATE_MULTI_TAG_VAL: + case TSDB_ALTER_TABLE_UPDATE_MULTI_TAG_VAL: { int32_t nTags; TAOS_CHECK_EXIT(tDecodeI32v(pDecoder, &nTags)); pReq->pMultiTag = taosArrayInit(nTags, sizeof(SMultiTagUpateVal)); @@ -10613,6 +10613,7 @@ static int32_t tDecodeSVAlterTbReqCommon(SDecoder *pDecoder, SVAlterTbReq *pReq) } } break; + } case TSDB_ALTER_TABLE_UPDATE_OPTIONS: TAOS_CHECK_EXIT(tDecodeI8(pDecoder, &pReq->updateTTL)); if (pReq->updateTTL) {