提交 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) { ...@@ -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;
} }
......
...@@ -85,7 +85,7 @@ SSkipList *tSkipListCreate(uint8_t maxLevel, uint8_t keyType, uint16_t keyLen, _ ...@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册