[TD-4394]fix core when select data after modify tag width
This commit is contained in:
parent
c2a558cd21
commit
c77c1091a3
|
@ -148,7 +148,9 @@ int tsdbCreateTable(STsdbRepo *repo, STableCfg *pCfg) {
|
|||
return 0;
|
||||
|
||||
_err:
|
||||
//tsdbFreeTable(super);
|
||||
if (newSuper) {
|
||||
tsdbFreeTable(super);
|
||||
}
|
||||
tsdbFreeTable(table);
|
||||
return -1;
|
||||
}
|
||||
|
|
|
@ -85,7 +85,7 @@ SSkipList *tSkipListCreate(uint8_t maxLevel, uint8_t keyType, uint16_t keyLen, _
|
|||
}
|
||||
|
||||
void tSkipListDestroy(SSkipList *pSkipList) {
|
||||
if (pSkipList == NULL || pSkipList->pHead == NULL) return;
|
||||
if (pSkipList == NULL) return;
|
||||
|
||||
tSkipListWLock(pSkipList);
|
||||
|
||||
|
|
Loading…
Reference in New Issue