[TD-4034]get latest schema from super table
This commit is contained in:
parent
e51fd4bf77
commit
220bc3502a
|
@ -623,7 +623,7 @@ static STSchema* getTableLatestSchema(STable *pTable) {
|
|||
|
||||
if (pTable->type == TSDB_CHILD_TABLE) {
|
||||
if (pTable->pSuper && pTable->pSuper->numOfSchemas) {
|
||||
tsdbInfo("getTableLatestSchema of table %s from super table", pTable->name->data);
|
||||
tsdbDebug("getTableLatestSchema of table %s from super table %s", pTable->name->data, pTable->pSuper->name->data);
|
||||
return pTable->pSuper->schema[pTable->pSuper->numOfSchemas - 1];
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue