From 7969325c71abcbe5c0512fc62721fdcc8a96991b Mon Sep 17 00:00:00 2001 From: Ti Chi Robot Date: Fri, 13 Dec 2024 18:24:03 +0800 Subject: [PATCH] planner: fix the default value of 46177 to OFF for versions earlier than 8.5 (#19687) (#19690) --- 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 8efa7b315e8cb..5848183017aec 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.