This commit is contained in:
54liuyao 2024-08-05 13:18:54 +08:00
parent 1b5cf65ab9
commit 9d64202f02
1 changed files with 3 additions and 1 deletions

View File

@ -1303,7 +1303,9 @@ static int32_t getTableScannerExecInfo(struct SOperatorInfo* pOptr, void** pOptr
static void destroyTableScanBase(STableScanBase* pBase, TsdReader* pAPI) {
cleanupQueryTableDataCond(&pBase->cond);
pAPI->tsdReaderClose(pBase->dataReader);
if (pAPI->tsdReaderClose) {
pAPI->tsdReaderClose(pBase->dataReader);
}
pBase->dataReader = NULL;
if (pBase->matchInfo.pList != NULL) {