From 99aa69fc51ca53d0038e2d510646b09b5726980f 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 f59ac132dfdad..1d656708ce398 100644 --- a/sql-statements/sql-statement-create-index.md +++ b/sql-statements/sql-statement-create-index.md @@ -241,9 +241,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 0ee154f7c641bf3c998a949caeca0d8c66872ef7 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 1d656708ce398..512e158affd58 100644 --- a/sql-statements/sql-statement-create-index.md +++ b/sql-statements/sql-statement-create-index.md @@ -243,7 +243,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