From 0fae16619ebf1c1528c40ec27c92a296cd61ea1c Mon Sep 17 00:00:00 2001 From: Shengliang Guan Date: Thu, 26 Aug 2021 13:42:45 +0800 Subject: [PATCH] TD-6378 --- src/common/src/tglobal.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/src/tglobal.c b/src/common/src/tglobal.c index 9e9b2056b1..c0e94eb921 100644 --- a/src/common/src/tglobal.c +++ b/src/common/src/tglobal.c @@ -1217,10 +1217,10 @@ static void doInitGlobalConfig(void) { cfg.unitType = TAOS_CFG_UTYPE_NONE; taosInitConfigOption(cfg); - cfg.option = "topicBianryLen"; + cfg.option = "topicBinaryLen"; cfg.ptr = &tsTopicBianryLen; cfg.valType = TAOS_CFG_VTYPE_INT32; - cfg.cfgType = TSDB_CFG_CTYPE_B_CONFIG; + cfg.cfgType = TSDB_CFG_CTYPE_B_CONFIG | TSDB_CFG_CTYPE_B_SHOW; cfg.minValue = 16; cfg.maxValue = 16000; cfg.ptrLength = 0; -- GitLab