From 8b7622b5e76fdf96a2f938649676abf3d78215c7 Mon Sep 17 00:00:00 2001 From: dapan1121 <72057773+dapan1121@users.noreply.github.com> Date: Wed, 29 Mar 2023 15:51:49 +0800 Subject: [PATCH] Update tglobal.c --- source/common/src/tglobal.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/source/common/src/tglobal.c b/source/common/src/tglobal.c index e97523df3d..aeeec1d61c 100644 --- a/source/common/src/tglobal.c +++ b/source/common/src/tglobal.c @@ -1347,15 +1347,9 @@ 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; } -- GitLab