decode compress for SVAlterTbReq

This commit is contained in:
factosea 2024-03-11 11:43:41 +08:00
parent e76e85ee01
commit 78c5210e82
1 changed files with 3 additions and 1 deletions

View File

@ -8172,10 +8172,12 @@ static int32_t tDecodeSVAlterTbReqCommon(SDecoder *pDecoder, SVAlterTbReq *pReq)
if (tDecodeCStr(pDecoder, &pReq->newComment) < 0) return -1; if (tDecodeCStr(pDecoder, &pReq->newComment) < 0) return -1;
} }
break; break;
case TSDB_ALTER_TABLE_UPDATE_COLUMN_COMPRESS:
if (tEncodeU32(pDecoder, &pReq->compress) < 0) return -1;
break;
default: default:
break; break;
} }
if (tDecodeU32(pDecoder, &pReq->compress) < 0) return -1;
return 0; return 0;
} }