Skip to content

Commit

Permalink
Update the related variable description for CREATE INDEX (#6434)
Browse files Browse the repository at this point in the history
  • Loading branch information
shichun-0415 authored Sep 14, 2021
1 parent c432539 commit 4167cb4
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 @@ -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`, `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 4167cb4

Please sign in to comment.