TD-353
This commit is contained in:
parent
ca9ba4276b
commit
cbb70cc563
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue