Skip to content

Commit

Permalink
fix: correct CHAR and BINARY maximum length from 256 to 255 (#19493)
Browse files Browse the repository at this point in the history
  • Loading branch information
Oreoxmt authored Jan 8, 2025
1 parent 36f66cc commit adaed42
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tidb-limitations.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ summary: TiDB 中的使用限制包括标识符长度限制、数据库、表、

| 类型 | 最大限制 |
|:----------|:----------|
| CHAR | 256 字符 |
| BINARY | 256 字节 |
| CHAR | 255 字符 |
| BINARY | 255 字节 |
| VARBINARY | 65535 字节 |
| VARCHAR | 16383 字符 |
| TEXT | 默认为 6291456 字节(即 6 MiB),可调至 125829120 字节(即 120 MiB) |
Expand Down

0 comments on commit adaed42

Please sign in to comment.