From d9a7d20d2223b55e6547d27e62e06dd153db9908 Mon Sep 17 00:00:00 2001 From: Shungang Li Date: Tue, 30 Jul 2024 14:42:17 +0800 Subject: [PATCH] fix: ignore taosSetSystemLocale error temporarily --- source/common/src/tglobal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/common/src/tglobal.c b/source/common/src/tglobal.c index 6bb23ba8bd..46219fe34c 100644 --- a/source/common/src/tglobal.c +++ b/source/common/src/tglobal.c @@ -1212,7 +1212,7 @@ static int32_t taosSetSystemCfg(SConfig *pCfg) { TAOS_CHECK_GET_CFG_ITEM(pCfg, pItem, "charset"); const char *charset = pItem->str; - TAOS_CHECK_RETURN(taosSetSystemLocale(locale, charset)); + (void)taosSetSystemLocale(locale, charset); // ignore this error temporarily osSetSystemLocale(locale, charset); TAOS_CHECK_GET_CFG_ITEM(pCfg, pItem, "enableCoreFile");