From 57270ee7e90479a3cbc8f6a491eab2242eefce87 Mon Sep 17 00:00:00 2001 From: wpan Date: Mon, 23 Aug 2021 14:08:13 +0800 Subject: [PATCH] fix maxOrderedResult to 2mw --- src/common/src/tglobal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/src/tglobal.c b/src/common/src/tglobal.c index 38ae56eb24..c49fb37ab3 100644 --- a/src/common/src/tglobal.c +++ b/src/common/src/tglobal.c @@ -1018,7 +1018,7 @@ static void doInitGlobalConfig(void) { 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; + cfg.maxValue = TSDB_MAX_ALLOWED_SQL_LEN * 2; cfg.ptrLength = 0; cfg.unitType = TAOS_CFG_UTYPE_NONE; taosInitConfigOption(cfg); -- GitLab