提交 c77c1091 编写于 作者: L lichuang

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

上级 c2a558cd
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册