Skip to content
This repository has been archived by the owner on Jun 24, 2021. It is now read-only.

Commit

Permalink
TiDB: add a variable to control the max index length (#1193) (#1194)
Browse files Browse the repository at this point in the history
  • Loading branch information
liubo0127 authored Mar 4, 2020
1 parent 56d7483 commit dffd679
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions conf/tidb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ global:
# check mb4 value in utf8 is used to control whether to check the mb4 characters when the charset is utf8.
# check-mb4-value-in-utf8: true

# max-index-length is used to deal with compatibility issues from v3.0.7 and previous version upgrades. It can only be in [3072, 3072*4].
# max-index-length: 3072

log:
# Log level: debug, info, warn, error, fatal.
# level: "info"
Expand Down
3 changes: 3 additions & 0 deletions roles/tidb/vars/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ global:
# check mb4 value in utf8 is used to control whether to check the mb4 characters when the charset is utf8.
# check-mb4-value-in-utf8: true

# max-index-length is used to deal with compatibility issues from v3.0.7 and previous version upgrades. It can only be in [3072, 3072*4].
max-index-length: 3072

log:
# Log level: debug, info, warn, error, fatal.
level: "info"
Expand Down

0 comments on commit dffd679

Please sign in to comment.