Fix ci problems.

This commit is contained in:
xiao-77 2024-12-14 00:29:01 +08:00
parent c8cbcc4a3b
commit 0ac61ea9e2
2 changed files with 2 additions and 2 deletions

View File

@ -557,7 +557,7 @@ int32_t cfgSetItemVal(SConfigItem *pItem, const char *name, const char *value, E
break; break;
} }
TAOS_RETURN(TSDB_CODE_SUCCESS); TAOS_RETURN(code);
} }
SConfigItem *cfgGetItem(SConfig *pCfg, const char *pName) { SConfigItem *cfgGetItem(SConfig *pCfg, const char *pName) {

View File

@ -19,7 +19,7 @@ from util.common import *
from util.sqlset import * from util.sqlset import *
class TDTestCase: class TDTestCase:
updatecfgDict = {'queryUseMemoryPool':'true','minReservedMemorySize':1025, 'singleQueryMaxMemorySize': 0} updatecfgDict = {'forceReadConfig':'1','queryUseMemoryPool':'true','minReservedMemorySize':1025, 'singleQueryMaxMemorySize': 0}
def init(self, conn, logSql, replicaVar=1): def init(self, conn, logSql, replicaVar=1):
tdLog.debug("start to execute %s" % __file__) tdLog.debug("start to execute %s" % __file__)
tdSql.init(conn.cursor()) tdSql.init(conn.cursor())