From 26be43ae0c803e16ffaa62a26af50ba8a0173d5d Mon Sep 17 00:00:00 2001 From: JoyinQ <56883733+Joyinqin@users.noreply.github.com> Date: Thu, 20 Aug 2020 11:24:46 +0800 Subject: [PATCH] cherry pick #3673 to release-4.0 Signed-off-by: ti-srebot --- system-variables.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/system-variables.md b/system-variables.md index db1207c296f34..8e85cddb7590f 100644 --- a/system-variables.md +++ b/system-variables.md @@ -61,6 +61,12 @@ SET GLOBAL tidb_distsql_scan_concurrency = 10; - Default value: 0 - This variable is used to show whether the execution plan used in the previous `execute` statement is taken directly from the plan cache. +### last_plan_from_binding New in v4.0 + +- Scope: SESSION +- Default value: 0 +- This variable is used to show whether the execution plan used in the previous statement was influenced by a [plan binding](/sql-plan-management.md) + ### max_execution_time - Scope: SESSION | GLOBAL