From 9ece780c15a9ecbc841b66bbebeee745ebac0bf6 Mon Sep 17 00:00:00 2001 From: 54liuyao <54liuyao> Date: Tue, 6 Aug 2024 14:17:36 +0800 Subject: [PATCH] fix ci issue --- source/libs/executor/src/cachescanoperator.c | 2 +- source/libs/executor/src/sysscanoperator.c | 1 - tests/system-test/1-insert/stt_blocks_check.py | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/source/libs/executor/src/cachescanoperator.c b/source/libs/executor/src/cachescanoperator.c index 97d061cef0..f86c08501d 100644 --- a/source/libs/executor/src/cachescanoperator.c +++ b/source/libs/executor/src/cachescanoperator.c @@ -187,7 +187,7 @@ int32_t createCacherowsScanOperator(SLastRowScanPhysiNode* pScanNode, SReadHandl pInfo->retrieveType = CACHESCAN_RETRIEVE_TYPE_ALL | SCAN_ROW_TYPE(pScanNode->ignoreNull); STableKeyInfo* pList = tableListGetInfo(pTableListInfo, 0); - QUERY_CHECK_NULL(pList, code, lino, _error, terrno); + if (totalTables) QUERY_CHECK_NULL(pList, code, lino, _error, terrno); uint64_t suid = tableListGetSuid(pTableListInfo); code = pInfo->readHandle.api.cacheFn.openReader(pInfo->readHandle.vnode, pInfo->retrieveType, pList, totalTables, diff --git a/source/libs/executor/src/sysscanoperator.c b/source/libs/executor/src/sysscanoperator.c index 7992ee969b..2ba9152952 100644 --- a/source/libs/executor/src/sysscanoperator.c +++ b/source/libs/executor/src/sysscanoperator.c @@ -2785,7 +2785,6 @@ int32_t createDataBlockInfoScanOperator(SReadHandle* readHandle, SBlockDistScanP pInfo->pTableListInfo = pTableListInfo; size_t num = tableListGetSize(pTableListInfo); void* pList = tableListGetInfo(pTableListInfo, 0); - QUERY_CHECK_NULL(pList, code, lino, _error, terrno); code = readHandle->api.tsdReader.tsdReaderOpen(readHandle->vnode, &cond, pList, num, pInfo->pResBlock, (void**)&pInfo->pHandle, pTaskInfo->id.str, NULL); diff --git a/tests/system-test/1-insert/stt_blocks_check.py b/tests/system-test/1-insert/stt_blocks_check.py index 122a8ac4d9..5de6414453 100644 --- a/tests/system-test/1-insert/stt_blocks_check.py +++ b/tests/system-test/1-insert/stt_blocks_check.py @@ -20,7 +20,6 @@ from util.sqlset import * from util.boundary import * class TDTestCase: - updatecfgDict = {'debugFlag': 143} def init(self, conn, logSql, replicaVar=1): self.replicaVar = int(replicaVar) tdLog.debug("start to execute %s" % __file__)