From 6cfb93b6e8d78073428e254b7db7b65702eabf51 Mon Sep 17 00:00:00 2001 From: Shengliang Guan Date: Wed, 25 Aug 2021 16:30:43 +0800 Subject: [PATCH] TD-6272 --- src/common/src/tglobal.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/common/src/tglobal.c b/src/common/src/tglobal.c index c49fb37ab3..9e9b2056b1 100644 --- a/src/common/src/tglobal.c +++ b/src/common/src/tglobal.c @@ -84,7 +84,7 @@ int8_t tsTscEnableRecordSql = 0; // the maximum number of results for projection query on super table that are returned from // one virtual node, to order according to timestamp -int32_t tsMaxNumOfOrderedResults = 100000; +int32_t tsMaxNumOfOrderedResults = 1000000; // 10 ms for sliding time, the value will changed in case of time precision changed int32_t tsMinSlidingTime = 10; @@ -1017,8 +1017,8 @@ static void doInitGlobalConfig(void) { cfg.ptr = &tsMaxNumOfOrderedResults; cfg.valType = TAOS_CFG_VTYPE_INT32; cfg.cfgType = TSDB_CFG_CTYPE_B_CONFIG | TSDB_CFG_CTYPE_B_CLIENT | TSDB_CFG_CTYPE_B_SHOW; - cfg.minValue = TSDB_MAX_SQL_LEN; - cfg.maxValue = TSDB_MAX_ALLOWED_SQL_LEN * 2; + cfg.minValue = 100000; + cfg.maxValue = 100000000; cfg.ptrLength = 0; cfg.unitType = TAOS_CFG_UTYPE_NONE; taosInitConfigOption(cfg); -- GitLab