This commit is contained in:
Hongze Cheng 2020-06-19 06:32:29 +00:00
parent ca9ba4276b
commit cbb70cc563
1 changed files with 1 additions and 1 deletions

View File

@ -894,7 +894,7 @@ static int tsdbRemoveTableFromIndex(STsdbMeta *pMeta, STable *pTable) {
SSkipListNode *pNode = taosArrayGetP(res, i);
// STableIndexElem* pElem = (STableIndexElem*) SL_GET_NODE_DATA(pNode);
if ((STable *)SL_GET_NODE_DATA(pNode) == pTable) { // this is the exact what we need
if (*(STable **)SL_GET_NODE_DATA(pNode) == pTable) { // this is the exact what we need
tSkipListRemoveNode(pSTable->pIndex, pNode);
}
}