From 7f6d02f492203d40f1f116602fe30a2c828ae6ce Mon Sep 17 00:00:00 2001 From: Chengpeng Yan <41809508+Reminiscent@users.noreply.github.com> Date: Thu, 30 Jul 2020 11:01:35 +0800 Subject: [PATCH] cherry pick #3702 to release-4.0 Signed-off-by: ti-srebot --- system-variables.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/system-variables.md b/system-variables.md index 1c9242c4bc1d..e20a78cf36d6 100644 --- a/system-variables.md +++ b/system-variables.md @@ -60,6 +60,14 @@ SET GLOBAL tidb_distsql_scan_concurrency = 10; - 默认值:0 - 这个变量用来显示上一个 `execute` 语句所使用的执行计划是不是直接从 plan cache 中取出来的。 +### last_plan_from_binding 从 v4.0 版本开始引入 + +作用域:SESSION + +默认值:0 + +这个变量用来显示上一条执行的语句所使用的执行计划是不是来自 binding 的执行计划。 + ### `max_execution_time` - 作用域:SESSION | GLOBAL