From 340f21aa3522f74ecb95a45627add4f1c64f6acf Mon Sep 17 00:00:00 2001 From: TomShawn <41534398+TomShawn@users.noreply.github.com> Date: Fri, 19 Feb 2021 12:02:36 +0800 Subject: [PATCH 1/3] Fix a wrong version mark in system-variable.md --- system-variables.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system-variables.md b/system-variables.md index 82e01a146a4d2..a88aee12c485f 100644 --- a/system-variables.md +++ b/system-variables.md @@ -110,7 +110,7 @@ mysql> SELECT * FROM t1; - Default value: 28800 - This variable represents the idle timeout of the interactive user session, which is measured in seconds. Interactive user session refers to the session established by calling [`mysql_real_connect()`](https://dev.mysql.com/doc/c-api/5.7/en/mysql-real-connect.html) API using the `CLIENT_INTERACTIVE` option (for example, MySQL shell client). This variable is fully compatible with MySQL. -### last_plan_from_binding New in v5.0.0-rc +### last_plan_from_binding New in v4.0 - Scope: SESSION - Default value: 0 From a6e43339858f5b960c369ccd9db2644040231d1b Mon Sep 17 00:00:00 2001 From: TomShawn <41534398+TomShawn@users.noreply.github.com> Date: Fri, 19 Feb 2021 13:13:17 +0800 Subject: [PATCH 2/3] fix a broken external link --- system-variables.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system-variables.md b/system-variables.md index a88aee12c485f..4f3334f008328 100644 --- a/system-variables.md +++ b/system-variables.md @@ -234,7 +234,7 @@ mysql> SELECT * FROM t1; - Scope: INSTANCE - Default value: ON -- This variable is used to enforce that the `utf8` character set only stores values from the [Basic Multilingual Plane (BMP)](https://en.wikipedia.org/wiki/Plane_\(Unicode\)#Basic_Multilingual_Plane). To store characters outside the BMP, it is recommended to use the `utf8mb4` character set. +- This variable is used to enforce that the `utf8` character set only stores values from the [Basic Multilingual Plane (BMP)](https://en.wikipedia.org/wiki/Plane_(Unicode)#Basic_Multilingual_Plane). To store characters outside the BMP, it is recommended to use the `utf8mb4` character set. - You might need to disable this option when upgrading your cluster from an earlier version of TiDB where the `utf8` checking was more relaxed. For details, see [FAQs After Upgrade](/faq/upgrade-faq.md). ### tidb_checksum_table_concurrency From 0b609cb64f0cdca990dd8ae21297aeeb004c9604 Mon Sep 17 00:00:00 2001 From: TomShawn <41534398+TomShawn@users.noreply.github.com> Date: Fri, 19 Feb 2021 15:09:20 +0800 Subject: [PATCH 3/3] fix description --- system-variables.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/system-variables.md b/system-variables.md index 4f3334f008328..d102958e3f87d 100644 --- a/system-variables.md +++ b/system-variables.md @@ -40,13 +40,13 @@ SET GLOBAL tidb_distsql_scan_concurrency = 10; - Scope: SESSION | GLOBAL - Default value: 1 -- Controls how `AUTO_INCREMENT` values should be incremented on each allocation. It is often used in combination with `auto_increment_offset`. +- Controls the step size of `AUTO_INCREMENT` values to be allocated to a column. It is often used in combination with `auto_increment_offset`. ### auto_increment_offset - Scope: SESSION | GLOBAL - Default value: 1 -- Controls the initial offset of `AUTO_INCREMENT` values being allocated. This setting is often used in combination with `auto_increment_increment`. For example: +- Controls the initial offset of `AUTO_INCREMENT` values to be allocated to a column. This setting is often used in combination with `auto_increment_increment`. For example: ```sql mysql> CREATE TABLE t1 (a int not null primary key auto_increment);