Skip to content

Commit

Permalink
reference/configuration/tidb-server: address comments
Browse files Browse the repository at this point in the history
  • Loading branch information
zimulala committed Apr 15, 2020
1 parent 172250f commit 08bf0ad
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion reference/configuration/tidb-server/configuration-file.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,8 @@ TiDB 配置文件比命令行参数支持更多的选项。你可以在 [config/

+ 用于设置新建索引的长度限制。
+ 默认值:3072
+ 单位:byte,目前的合法值范围 [3072, 3072*4]。MySQL 和 TiDB v3.0.11 之前版本没有此配置项,不过都对新建索引的长度做了限制。MySQL 对此的长度限制为 3072,TiDB 在 v3.0.7 以及之前版本此值为 3072*4。为了与 MySQL 和 TiDB 之前版本的兼容,添加了此配置项。
+ 单位: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 之前版本的兼容,添加了此配置项。

## log

Expand Down

0 comments on commit 08bf0ad

Please sign in to comment.