fix ci error
This commit is contained in:
parent
17b2310df3
commit
c852a8d092
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue