Update tglobal.c
This commit is contained in:
parent
9952be43f6
commit
8b7622b5e7
|
@ -1347,15 +1347,9 @@ void taosCleanupCfg() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
extern int32_t scanDebug;
|
|
||||||
void taosCfgDynamicOptions(const char *option, const char *value) {
|
void taosCfgDynamicOptions(const char *option, const char *value) {
|
||||||
if (strncasecmp(option, "debugFlag", 9) == 0) {
|
if (strncasecmp(option, "debugFlag", 9) == 0) {
|
||||||
int32_t flag = atoi(value);
|
int32_t flag = atoi(value);
|
||||||
if (1 == flag) {
|
|
||||||
scanDebug = 1;
|
|
||||||
} else {
|
|
||||||
scanDebug = 0;
|
|
||||||
}
|
|
||||||
taosSetAllDebugFlag(flag, true);
|
taosSetAllDebugFlag(flag, true);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue