drop conf assert

This commit is contained in:
xiao-77 2024-10-24 14:37:50 +08:00
parent cda8bd8047
commit f68bbfa448
1 changed files with 1 additions and 3 deletions

View File

@ -1329,7 +1329,7 @@ static int32_t taosSetSystemCfg(SConfig *pCfg) {
SConfigItem *pItem = NULL; SConfigItem *pItem = NULL;
TAOS_CHECK_GET_CFG_ITEM(pCfg, pItem, "timezone"); TAOS_CHECK_GET_CFG_ITEM(pCfg, pItem, "timezone");
if (0 == strlen(pItem->str)) { if (0 == strlen(pItem->str)) {
uError("timezone is not set"); uError("timezone is not set");
} else { } else {
TAOS_CHECK_RETURN(osSetTimezone(pItem->str)); TAOS_CHECK_RETURN(osSetTimezone(pItem->str));
@ -1360,8 +1360,6 @@ static int32_t taosSetSystemCfg(SConfig *pCfg) {
tsEnableCoreFile = pItem->bval; tsEnableCoreFile = pItem->bval;
taosSetCoreDump(tsEnableCoreFile); taosSetCoreDump(tsEnableCoreFile);
TAOS_CHECK_GET_CFG_ITEM(pCfg, pItem, "assert");
// todo // todo
tsVersion = 30000000; tsVersion = 30000000;