diff --git a/src/common/src/tglobal.c b/src/common/src/tglobal.c index d9b254a26ab46932a6c413f3b0324a2b8c867ac4..6260b22c81112647e605247621fdecb0524c43ff 100644 --- a/src/common/src/tglobal.c +++ b/src/common/src/tglobal.c @@ -1786,6 +1786,7 @@ static void doInitGlobalConfig(void) { cfg.maxValue = 10000000; cfg.ptrLength = 0; cfg.unitType = TAOS_CFG_UTYPE_NONE; + taosInitConfigOption(cfg); cfg.option = "sortWhenGroupBy"; cfg.ptr = &tsSortWhenGroupBy;