From b83933d29cd903cefd478787650cebf0b84015e6 Mon Sep 17 00:00:00 2001 From: shichun-0415 Date: Thu, 9 Sep 2021 14:54:39 +0800 Subject: [PATCH 1/2] Update sql-statement-create-index.md --- sql-statements/sql-statement-create-index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sql-statements/sql-statement-create-index.md b/sql-statements/sql-statement-create-index.md index 5b99bccd9f252..1c83bb57c0829 100644 --- a/sql-statements/sql-statement-create-index.md +++ b/sql-statements/sql-statement-create-index.md @@ -240,9 +240,9 @@ CREATE UNIQUE INDEX c1 ON t1 (c1) INVISIBLE; For details, see [`ALTER INDEX`](/sql-statements/sql-statement-alter-index.md). -## Associated session variables +## Associated system variables -The global variables associated with the `CREATE INDEX` statement are `tidb_ddl_reorg_worker_cnt`, `tidb_ddl_reorg_batch_size`, `tidb_ddl_reorg_priority`, and `tidb_enable_auto_increment_in_generated`. Refer to [system variables](/system-variables.md#tidb_ddl_reorg_worker_cnt) for details. +The system variables associated with the `CREATE INDEX` statement are `tidb_ddl_reorg_worker_cnt`, `tidb_ddl_reorg_batch_size`, and `tidb_ddl_reorg_priority`. Refer to [system variables](/system-variables.md#tidb_ddl_reorg_worker_cnt) for details. ## MySQL compatibility From d6758987fcc3142f2332461b3e3b2348fab71f55 Mon Sep 17 00:00:00 2001 From: shichun-0415 <89768198+shichun-0415@users.noreply.github.com> Date: Mon, 13 Sep 2021 11:57:49 +0800 Subject: [PATCH 2/2] Update sql-statements/sql-statement-create-index.md Co-authored-by: TomShawn <41534398+TomShawn@users.noreply.github.com> --- sql-statements/sql-statement-create-index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql-statements/sql-statement-create-index.md b/sql-statements/sql-statement-create-index.md index 1c83bb57c0829..be50e19071f7c 100644 --- a/sql-statements/sql-statement-create-index.md +++ b/sql-statements/sql-statement-create-index.md @@ -242,7 +242,7 @@ For details, see [`ALTER INDEX`](/sql-statements/sql-statement-alter-index.md). ## Associated system variables -The system variables associated with the `CREATE INDEX` statement are `tidb_ddl_reorg_worker_cnt`, `tidb_ddl_reorg_batch_size`, and `tidb_ddl_reorg_priority`. Refer to [system variables](/system-variables.md#tidb_ddl_reorg_worker_cnt) for details. +The system variables associated with the `CREATE INDEX` statement are `tidb_ddl_reorg_worker_cnt`, `tidb_ddl_reorg_batch_size`, `tidb_enable_auto_increment_in_generated`, and `tidb_ddl_reorg_priority`. Refer to [system variables](/system-variables.md#tidb_ddl_reorg_worker_cnt) for details. ## MySQL compatibility