Skip to content

Commit

Permalink
This is an automated cherry-pick of pingcap#6434
Browse files Browse the repository at this point in the history
Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
  • Loading branch information
shichun-0415 authored and ti-chi-bot committed Sep 14, 2021
1 parent 8cb0eac commit 8f91386
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion sql-statements/sql-statement-create-index.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,9 +142,13 @@ Expression indexes have the same syntax and limitations as in MySQL. They are im

Currently, the optimizer can use the indexed expressions when the expressions are only in the `FIELD` clause, `WHERE` clause, and `ORDER BY` clause. The `GROUP BY` clause will be supported in future updates.

## Associated session variables
## Associated system variables

<<<<<<< HEAD
The global 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.
>>>>>>> 4167cb44a (Update the related variable description for CREATE INDEX (#6434))
## MySQL compatibility

Expand Down

0 comments on commit 8f91386

Please sign in to comment.