diff --git a/src/common/src/tglobal.c b/src/common/src/tglobal.c index 9e9b2056b19ea1bb2f593bbc79d28aa95edcd552..c0e94eb921688246bac1067a48fb77c10acdb3bb 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;