From fb087a9d22e10ae7b33a2ba14357724116a794e9 Mon Sep 17 00:00:00 2001 From: qw4990 Date: Fri, 18 Nov 2022 11:24:22 +0800 Subject: [PATCH] fixup --- sessionctx/variable/tidb_vars.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sessionctx/variable/tidb_vars.go b/sessionctx/variable/tidb_vars.go index 3511775de08f1..d7c05c0a48e88 100644 --- a/sessionctx/variable/tidb_vars.go +++ b/sessionctx/variable/tidb_vars.go @@ -1079,7 +1079,7 @@ const ( DefTiDBForeignKeyChecks = false DefTiDBAnalyzePartitionConcurrency = 1 DefTiDBOptRangeMaxSize = 64 * int64(size.MB) // 64 MB - DefTiDBCostModelVer = 1 + DefTiDBCostModelVer = 2 DefTiDBServerMemoryLimitSessMinSize = 128 << 20 DefTiDBMergePartitionStatsConcurrency = 1 DefTiDBServerMemoryLimitGCTrigger = 0.7