fix(query): clear array instead of destroy it in clear function.
This commit is contained in:
parent
655dbb47c1
commit
26d6213937
|
@ -638,7 +638,7 @@ void clearDiskbasedBuf(SDiskbasedBuf* pBuf) {
|
|||
taosMemoryFreeClear(pi);
|
||||
}
|
||||
|
||||
taosArrayDestroy(pBuf->pIdList);
|
||||
taosArrayClear(pBuf->pIdList);
|
||||
|
||||
tdListEmpty(pBuf->lruList);
|
||||
tdListEmpty(pBuf->freePgList);
|
||||
|
|
Loading…
Reference in New Issue