[TD-4394]fix core when select data after modify tag width

This commit is contained in:
lichuang 2021-06-16 16:08:24 +08:00
parent c2a558cd21
commit c77c1091a3
2 changed files with 4 additions and 2 deletions

View File

@ -148,7 +148,9 @@ int tsdbCreateTable(STsdbRepo *repo, STableCfg *pCfg) {
return 0; return 0;
_err: _err:
//tsdbFreeTable(super); if (newSuper) {
tsdbFreeTable(super);
}
tsdbFreeTable(table); tsdbFreeTable(table);
return -1; return -1;
} }

View File

@ -85,7 +85,7 @@ SSkipList *tSkipListCreate(uint8_t maxLevel, uint8_t keyType, uint16_t keyLen, _
} }
void tSkipListDestroy(SSkipList *pSkipList) { void tSkipListDestroy(SSkipList *pSkipList) {
if (pSkipList == NULL || pSkipList->pHead == NULL) return; if (pSkipList == NULL) return;
tSkipListWLock(pSkipList); tSkipListWLock(pSkipList);