From f68bbfa448d354efb26cdb655425b1b5d321e1e9 Mon Sep 17 00:00:00 2001 From: xiao-77 Date: Thu, 24 Oct 2024 14:37:50 +0800 Subject: [PATCH] drop conf assert --- source/common/src/tglobal.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/source/common/src/tglobal.c b/source/common/src/tglobal.c index 9a63ab5013..f92e4b5f04 100644 --- a/source/common/src/tglobal.c +++ b/source/common/src/tglobal.c @@ -1329,7 +1329,7 @@ static int32_t taosSetSystemCfg(SConfig *pCfg) { SConfigItem *pItem = NULL; TAOS_CHECK_GET_CFG_ITEM(pCfg, pItem, "timezone"); - if (0 == strlen(pItem->str)) { + if (0 == strlen(pItem->str)) { uError("timezone is not set"); } else { TAOS_CHECK_RETURN(osSetTimezone(pItem->str)); @@ -1360,8 +1360,6 @@ static int32_t taosSetSystemCfg(SConfig *pCfg) { tsEnableCoreFile = pItem->bval; taosSetCoreDump(tsEnableCoreFile); - TAOS_CHECK_GET_CFG_ITEM(pCfg, pItem, "assert"); - // todo tsVersion = 30000000;