提交 622ab28e 编写于 作者: wafwerar's avatar wafwerar

os: backend run fail error

上级 59b0f99f
...@@ -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.
先完成此消息的编辑!
想要评论请 注册