From e2ca8c45a32cda971733d0f0f84074cbd99f0952 Mon Sep 17 00:00:00 2001 From: factosea <285808407@qq.com> Date: Mon, 11 Mar 2024 11:46:44 +0800 Subject: [PATCH] fix: decode error --- source/common/src/tmsg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/common/src/tmsg.c b/source/common/src/tmsg.c index 3556a659d6..2445563471 100644 --- a/source/common/src/tmsg.c +++ b/source/common/src/tmsg.c @@ -8173,7 +8173,7 @@ static int32_t tDecodeSVAlterTbReqCommon(SDecoder *pDecoder, SVAlterTbReq *pReq) } break; case TSDB_ALTER_TABLE_UPDATE_COLUMN_COMPRESS: - if (tEncodeU32(pDecoder, &pReq->compress) < 0) return -1; + if (tDecodeU32(pDecoder, &pReq->compress) < 0) return -1; break; default: break;