fix: unused code
This commit is contained in:
parent
46edf75ced
commit
91f5d92299
|
@ -2886,7 +2886,6 @@ int32_t ctgGetTbMetasFromCache(SCatalog *pCtg, SRequestConnInfo *pConn, SCtgTbMe
|
||||||
if (tbMeta->tableType != TSDB_CHILD_TABLE) {
|
if (tbMeta->tableType != TSDB_CHILD_TABLE) {
|
||||||
int32_t schemaExtSize = 0;
|
int32_t schemaExtSize = 0;
|
||||||
int32_t metaSize = CTG_META_SIZE(tbMeta);
|
int32_t metaSize = CTG_META_SIZE(tbMeta);
|
||||||
pTableMeta = taosMemoryCalloc(1, metaSize);
|
|
||||||
if (tbMeta->schemaExt != NULL) {
|
if (tbMeta->schemaExt != NULL) {
|
||||||
schemaExtSize = tbMeta->tableInfo.numOfColumns * sizeof(SSchemaExt);
|
schemaExtSize = tbMeta->tableInfo.numOfColumns * sizeof(SSchemaExt);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue