提交 220bc350 编写于 作者: L lichuang

[TD-4034]get latest schema from super table

上级 e51fd4bf
...@@ -623,7 +623,7 @@ static STSchema* getTableLatestSchema(STable *pTable) { ...@@ -623,7 +623,7 @@ static STSchema* getTableLatestSchema(STable *pTable) {
if (pTable->type == TSDB_CHILD_TABLE) { if (pTable->type == TSDB_CHILD_TABLE) {
if (pTable->pSuper && pTable->pSuper->numOfSchemas) { 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]; return pTable->pSuper->schema[pTable->pSuper->numOfSchemas - 1];
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册