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; }