Skip to content

Commit

Permalink
reference/configuration/tidb-server: tiny update
Browse files Browse the repository at this point in the history
  • Loading branch information
zimulala committed Apr 15, 2020
1 parent 08bf0ad commit de6fff6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reference/configuration/tidb-server/configuration-file.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ TiDB 配置文件比命令行参数支持更多的选项。你可以在 [config/
+ 用于设置新建索引的长度限制。
+ 默认值:3072
+ 单位:byte。
+ 目前的合法值范围 `[3072, 3072*4]`。MySQL 和 TiDB v3.0.11 之前版本(不包含 v3.0.11)没有此配置项,不过都对新建索引的长度做了限制。MySQL 对此的长度限制为 `3072`,TiDB 在 v3.0.7 以及之前版本该值为 `3072*4`,在 v3.0.7 之后版本(包含 v3.0.8、v3.0.9 和 v3.0.10)的该值为 `3072`。为了与 MySQL 和 TiDB 之前版本的兼容,添加了此配置项。
+ 目前的合法值范围 `[3072, 3072*4]`。MySQL 和 TiDB v3.0.11 之前版本(不包含 v3.0.11)没有此配置项,不过都对新建索引的长度做了限制。MySQL 对此的长度限制为 `3072`,TiDB 在 v3.0.7 以及之前版本该值为 `3072*4`,在 v3.0.7 之后版本包含 v3.0.8、v3.0.9 和 v3.0.10的该值为 `3072`。为了与 MySQL 和 TiDB 之前版本的兼容,添加了此配置项。

## log

Expand Down

0 comments on commit de6fff6

Please sign in to comment.