From 8f913863708fcb5e7983410c336e6fa03b7b51c0 Mon Sep 17 00:00:00 2001 From: shichun-0415 <89768198+shichun-0415@users.noreply.github.com> Date: Tue, 14 Sep 2021 17:54:41 +0800 Subject: [PATCH] This is an automated cherry-pick of #6434 Signed-off-by: ti-chi-bot --- sql-statements/sql-statement-create-index.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sql-statements/sql-statement-create-index.md b/sql-statements/sql-statement-create-index.md index ec42bcc8b8f9d..75be3cb1592a5 100644 --- a/sql-statements/sql-statement-create-index.md +++ b/sql-statements/sql-statement-create-index.md @@ -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