diff --git a/src/common/src/tglobal.c b/src/common/src/tglobal.c index 50d3fcd1a914bcb6af2629334a3f94daf7d26101..6d473aeec2a14d3dad16f2e7cec80fc7d490c467 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;