提交 0cbcf624 编写于 作者: D dapan1121

fix: add debug

上级 def8c904
......@@ -1347,9 +1347,15 @@ void taosCleanupCfg() {
}
}
extern int32_t scanDebug;
void taosCfgDynamicOptions(const char *option, const char *value) {
if (strncasecmp(option, "debugFlag", 9) == 0) {
int32_t flag = atoi(value);
if (1 == flag) {
scanDebug = 1;
} else {
scanDebug = 0;
}
taosSetAllDebugFlag(flag, true);
return;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册