From b4d7752fdd6746b4500e40ab21a10e482707f002 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Clawyer=E2=80=9Dlawyerphx=E2=80=9C?= Date: Mon, 22 Jun 2020 11:36:27 +0800 Subject: [PATCH 1/3] add source. --- sql-plan-management.md | 1 + sql-statements/sql-statement-show-bindings.md | 1 + 2 files changed, 2 insertions(+) diff --git a/sql-plan-management.md b/sql-plan-management.md index de60f017e3223..f3b409493c436 100644 --- a/sql-plan-management.md +++ b/sql-plan-management.md @@ -123,6 +123,7 @@ This statement outputs the execution plan bindings at the GLOBAL or SESSION leve | update_time | Updating time | | charset | Character set | | collation | Ordering rule | +| source | The way binding created, including manual (created by SQL `create [global] binding`), capture (captured automatically by TiDB) and evolve (evolved automatically by TiDB) | ## Baseline capturing diff --git a/sql-statements/sql-statement-show-bindings.md b/sql-statements/sql-statement-show-bindings.md index c9d9681eb21cd..8ff3f5b4711d8 100644 --- a/sql-statements/sql-statement-show-bindings.md +++ b/sql-statements/sql-statement-show-bindings.md @@ -46,6 +46,7 @@ This statement outputs the execution plan bindings at the GLOBAL or SESSION leve | update_time | Updated time | | charset | Character set | | collation | Sorting rule | +| source | The way binding created, including manual (created by SQL `create [global] binding`), capture (captured automatically by TiDB) and evolve (evolved automatically by TiDB) | ## See also From 64345350b33ee2c2be24b7e0fec9cd81b322611b Mon Sep 17 00:00:00 2001 From: lawyerphx Date: Mon, 22 Jun 2020 12:24:54 +0800 Subject: [PATCH 2/3] Update sql-plan-management.md Co-authored-by: Keke Yi <40977455+yikeke@users.noreply.github.com> --- sql-plan-management.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql-plan-management.md b/sql-plan-management.md index f3b409493c436..5548cd8cd9328 100644 --- a/sql-plan-management.md +++ b/sql-plan-management.md @@ -123,7 +123,7 @@ This statement outputs the execution plan bindings at the GLOBAL or SESSION leve | update_time | Updating time | | charset | Character set | | collation | Ordering rule | -| source | The way binding created, including manual (created by SQL `create [global] binding`), capture (captured automatically by TiDB) and evolve (evolved automatically by TiDB) | +| source | The way in which a binding is created, including `manual` (created by the `create [global] binding` SQL statement), `capture` (captured automatically by TiDB), and `evolve` (evolved automatically by TiDB) | ## Baseline capturing From 1696570a672dae530532ea7531decf9f0439032c Mon Sep 17 00:00:00 2001 From: lawyerphx Date: Mon, 22 Jun 2020 12:25:26 +0800 Subject: [PATCH 3/3] Update sql-statements/sql-statement-show-bindings.md Co-authored-by: Keke Yi <40977455+yikeke@users.noreply.github.com> --- sql-statements/sql-statement-show-bindings.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql-statements/sql-statement-show-bindings.md b/sql-statements/sql-statement-show-bindings.md index 8ff3f5b4711d8..bc784eb93be76 100644 --- a/sql-statements/sql-statement-show-bindings.md +++ b/sql-statements/sql-statement-show-bindings.md @@ -46,7 +46,7 @@ This statement outputs the execution plan bindings at the GLOBAL or SESSION leve | update_time | Updated time | | charset | Character set | | collation | Sorting rule | -| source | The way binding created, including manual (created by SQL `create [global] binding`), capture (captured automatically by TiDB) and evolve (evolved automatically by TiDB) | +| source | The way in which a binding is created, including `manual` (created by the `create [global] binding` SQL statement), `capture` (captured automatically by TiDB), and `evolve` (evolved automatically by TiDB) | ## See also