diff --git a/src/tsdb/src/tsdbRead.c b/src/tsdb/src/tsdbRead.c index 1ce8a742fd09fce378f276730e3d442701b47bca..ca6d5f2e398bd385035154701cf22c39401f4333 100644 --- a/src/tsdb/src/tsdbRead.c +++ b/src/tsdb/src/tsdbRead.c @@ -2504,7 +2504,7 @@ static bool loadDataBlockFromTableSeq(STsdbQueryHandle* pQueryHandle) { return false; } -// handle data in cache situationP +// handle data in cache situation bool tsdbNextDataBlock(TsdbQueryHandleT pHandle) { STsdbQueryHandle* pQueryHandle = (STsdbQueryHandle*) pHandle; if (pQueryHandle == NULL) { @@ -2620,7 +2620,6 @@ static int32_t doGetExternalRow(STsdbQueryHandle* pQueryHandle, int16_t type, SM pSecQueryHandle = tsdbQueryTablesImpl(pQueryHandle->pTsdb, &cond, pQueryHandle->qId, pMemRef); tfree(cond.colList); if (pSecQueryHandle == NULL) { - terrno = TSDB_CODE_QRY_OUT_OF_MEMORY; goto out_of_memory; }