From 78c5210e824a284a399eb450683b42fa4b72d5e3 Mon Sep 17 00:00:00 2001 From: factosea <285808407@qq.com> Date: Mon, 11 Mar 2024 11:43:41 +0800 Subject: [PATCH] decode compress for SVAlterTbReq --- source/common/src/tmsg.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/source/common/src/tmsg.c b/source/common/src/tmsg.c index a6cc0bf61a..3556a659d6 100644 --- a/source/common/src/tmsg.c +++ b/source/common/src/tmsg.c @@ -8172,10 +8172,12 @@ static int32_t tDecodeSVAlterTbReqCommon(SDecoder *pDecoder, SVAlterTbReq *pReq) if (tDecodeCStr(pDecoder, &pReq->newComment) < 0) return -1; } break; + case TSDB_ALTER_TABLE_UPDATE_COLUMN_COMPRESS: + if (tEncodeU32(pDecoder, &pReq->compress) < 0) return -1; + break; default: break; } - if (tDecodeU32(pDecoder, &pReq->compress) < 0) return -1; return 0; }