Skip to content

Commit

Permalink
Fix the descriptions about comment length in table, column, and index (
Browse files Browse the repository at this point in the history
  • Loading branch information
CbcWestwolf authored Jan 13, 2022
1 parent d44069c commit 1cf54dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sql-statements/sql-statement-create-table.md
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ mysql> DESC t1;
* 不支持 `FULLTEXT``HASH``SPATIAL` 索引。
* 为了与 MySQL 兼容,`index_col_name` 属性支持 length 选项,最大长度默认限制为 3072 字节。此长度限制可以通过配置项 `max-index-length` 更改,具体请参阅 [TiDB 配置文件描述](/tidb-configuration-file.md#max-index-length)
* 为了与 MySQL 兼容,TiDB 会解析但忽略 `index_col_name` 属性的 `[ASC | DESC]` 索引排序选项。
* `COMMENT` 属性最多支持 1024 个字符,不支持 `WITH PARSER` 选项。
* `COMMENT` 属性不支持 `WITH PARSER` 选项。
* TiDB 在单个表中最多支持 512 列。InnoDB 中相应的数量限制为 1017,MySQL 中的硬限制为 4096。详情参阅 [TiDB 使用限制](/tidb-limitations.md)
* 当前仅支持 Range、Hash 和 Range Columns(单列)类型的分区表,详情参阅[分区表](/partitioned-table.md)
* TiDB 会解析并忽略 `CHECK` 约束,与 MySQL 5.7 相兼容。详情参阅 [`CHECK` 约束](/constraints.md#check-约束)
Expand Down

0 comments on commit 1cf54dd

Please sign in to comment.