From 42b0b5bf0968c8934bddc84d66c9ad430ad545b6 Mon Sep 17 00:00:00 2001 From: Aolin Date: Fri, 13 Dec 2024 17:44:00 +0800 Subject: [PATCH] planner: fix the default value of 46177 to OFF for versions earlier than v8.5 Signed-off-by: Aolin --- optimizer-fix-controls.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/optimizer-fix-controls.md b/optimizer-fix-controls.md index d8659b461a65f..edd17a1d14bb2 100644 --- a/optimizer-fix-controls.md +++ b/optimizer-fix-controls.md @@ -79,7 +79,7 @@ SET SESSION tidb_opt_fix_control = '44262:ON,44389:ON'; ### [`46177`](https://github.com/pingcap/tidb/issues/46177) New in v6.5.6, v7.1.3 and v7.5.0 -- Default value: `ON` +- Default value: `OFF` - Possible values: `ON`, `OFF` - This variable controls whether the optimizer explores enforced plans during query optimization after finding an unenforced plan.