未验证 提交 7002a209 编写于 作者: wafwerar's avatar wafwerar 提交者: GitHub

Merge pull request #15114 from taosdata/fix/ZhiqiangWang/TD-17512-backend-run-fail-error

os: backend run fail error
...@@ -556,7 +556,7 @@ static void taosSetSystemCfg(SConfig *pCfg) { ...@@ -556,7 +556,7 @@ static void taosSetSystemCfg(SConfig *pCfg) {
osSetSystemLocale(locale, charset); osSetSystemLocale(locale, charset);
bool enableCore = cfgGetItem(pCfg, "enableCoreFile")->bval; bool enableCore = cfgGetItem(pCfg, "enableCoreFile")->bval;
taosSetConsoleEcho(enableCore); taosSetCoreDump(enableCore);
// todo // todo
tsVersion = 30000000; tsVersion = 30000000;
...@@ -675,7 +675,7 @@ int32_t taosSetCfg(SConfig *pCfg, char *name) { ...@@ -675,7 +675,7 @@ int32_t taosSetCfg(SConfig *pCfg, char *name) {
case 'e': { case 'e': {
if (strcasecmp("enableCoreFile", name) == 0) { if (strcasecmp("enableCoreFile", name) == 0) {
bool enableCore = cfgGetItem(pCfg, "enableCoreFile")->bval; bool enableCore = cfgGetItem(pCfg, "enableCoreFile")->bval;
taosSetConsoleEcho(enableCore); taosSetCoreDump(enableCore);
} }
break; break;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册