Skip to content

Commit

Permalink
Update the related variable description for CREATE INDEX (#6434) (#6463)
Browse files Browse the repository at this point in the history
  • Loading branch information
ti-chi-bot authored Sep 14, 2021
1 parent f87fc2b commit 285049c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sql-statements/sql-statement-create-index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`, `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

Expand Down

0 comments on commit 285049c

Please sign in to comment.