fix ci error

This commit is contained in:
yihaoDeng 2024-03-31 14:47:38 +00:00
parent 17b2310df3
commit c852a8d092
1 changed files with 1 additions and 1 deletions

View File

@ -472,7 +472,7 @@ int32_t cloneTableMeta(STableMeta* pSrc, STableMeta** pDst) {
return TSDB_CODE_OUT_OF_MEMORY;
}
memcpy(*pDst, pSrc, metaSize);
if (useCompress(pSrc->tableType)) {
if (useCompress(pSrc->tableType) && pSrc->schemaExt) {
(*pDst)->schemaExt = (SSchemaExt*)((char*)*pDst + metaSize);
memcpy((*pDst)->schemaExt, pSrc->schemaExt, schemaExtSize);
} else {