From 9c5eb55cb7f27e12ea8f0888fd8430975de9e35f Mon Sep 17 00:00:00 2001 From: xywang Date: Tue, 7 Dec 2021 23:47:20 +0800 Subject: [PATCH] [TS-834]: directive 'httpDbNameMandatory' can be shown --- src/common/src/tglobal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/src/tglobal.c b/src/common/src/tglobal.c index 50d3fcd1a9..6d473aeec2 100644 --- a/src/common/src/tglobal.c +++ b/src/common/src/tglobal.c @@ -1279,7 +1279,7 @@ static void doInitGlobalConfig(void) { cfg.option = "httpDbNameMandatory"; cfg.ptr = &tsHttpDbNameMandatory; cfg.valType = TAOS_CFG_VTYPE_INT8; - cfg.cfgType = TSDB_CFG_CTYPE_B_CONFIG; + cfg.cfgType = TSDB_CFG_CTYPE_B_CONFIG | TSDB_CFG_CTYPE_B_SHOW; cfg.minValue = 0; cfg.maxValue = 1; cfg.ptrLength = 0; -- GitLab