update case
This commit is contained in:
parent
01ee8b36a4
commit
639df3dfad
|
@ -1774,7 +1774,7 @@ static int32_t mndUpdateSuperTableColumnCompress(SMnode *pMnode, const SStbObj *
|
|||
if (updated == 0) {
|
||||
terrno = TSDB_CODE_MND_COLUMN_COMPRESS_ALREADY_EXIST;
|
||||
return -1;
|
||||
} else if (update == -1) {
|
||||
} else if (updated == -1) {
|
||||
terrno = TSDB_CODE_TSC_COMPRESS_LEVEL_ERROR;
|
||||
return -1;
|
||||
}
|
||||
|
|
|
@ -2250,7 +2250,7 @@ int32_t metaUpdateTableColCompress(SMeta *pMeta, int64_t version, SVAlterTbReq *
|
|||
tDecoderClear(&dc);
|
||||
terrno = TSDB_CODE_VND_COLUMN_COMPRESS_ALREADY_EXIST;
|
||||
goto _err;
|
||||
} else if (update < 0) {
|
||||
} else if (updated < 0) {
|
||||
tdbFree(pVal);
|
||||
tDecoderClear(&dc);
|
||||
terrno = TSDB_CODE_TSC_COMPRESS_LEVEL_ERROR;
|
||||
|
|
Loading…
Reference in New Issue