[td-6563]
This commit is contained in:
parent
7ed1aa2618
commit
a4260aeb32
|
@ -100,7 +100,7 @@ static FORCE_INLINE int tsdbCompareSchemaVersion(const void *key1, const void *k
|
|||
}
|
||||
|
||||
static FORCE_INLINE STSchema* tsdbGetTableSchemaImpl(STable* pTable, bool lock, bool copy, int16_t _version) {
|
||||
STable* pDTable = (TABLE_TYPE(pTable) == TSDB_CHILD_TABLE) ? pTable->pSuper : pTable;
|
||||
STable* pDTable = (pTable->pSuper != NULL) ? pTable->pSuper : pTable; // for performance purpose
|
||||
STSchema* pSchema = NULL;
|
||||
STSchema* pTSchema = NULL;
|
||||
|
||||
|
|
|
@ -3616,8 +3616,6 @@ SArray* createTableGroup(SArray* pTableList, STSchema* pTagSchema, SColIndex* pC
|
|||
|
||||
for(int32_t i = 0; i < size; ++i) {
|
||||
STableKeyInfo *pKeyInfo = taosArrayGet(pTableList, i);
|
||||
assert(((STable*)pKeyInfo->pTable)->type == TSDB_CHILD_TABLE);
|
||||
|
||||
tsdbRefTable(pKeyInfo->pTable);
|
||||
|
||||
STableKeyInfo info = {.pTable = pKeyInfo->pTable, .lastKey = skey};
|
||||
|
|
Loading…
Reference in New Issue