Merge branch '3.0' into feature/compressData
This commit is contained in:
parent
cb27761e66
commit
44e6d225e2
|
@ -472,8 +472,7 @@ int32_t cloneTableMeta(STableMeta* pSrc, STableMeta** pDst) {
|
|||
return TSDB_CODE_OUT_OF_MEMORY;
|
||||
}
|
||||
memcpy(*pDst, pSrc, metaSize);
|
||||
if (useCompress(pSrc->tableType) /* && pSrc->schemaExt*/) {
|
||||
ASSERT(pSrc->schemaExt == NULL);
|
||||
if (useCompress(pSrc->tableType) && pSrc->schemaExt) {
|
||||
(*pDst)->schemaExt = (SSchemaExt*)((char*)*pDst + metaSize);
|
||||
memcpy((*pDst)->schemaExt, pSrc->schemaExt, schemaExtSize);
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue