From 5e3fd09954ef3d60d7324b529742de240579be79 Mon Sep 17 00:00:00 2001 From: Aolin Date: Wed, 8 Jan 2025 16:05:13 +0800 Subject: [PATCH] fix: correct CHAR and BINARY maximum length from 256 to 255 (#19927) --- tidb-limitations.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tidb-limitations.md b/tidb-limitations.md index 620eda42ae921..598c175206760 100644 --- a/tidb-limitations.md +++ b/tidb-limitations.md @@ -71,8 +71,8 @@ You can adjust the size limit via the [`txn-entry-size-limit`](/tidb-configurati | Type | Upper limit | |:----------|:----------| -| CHAR | 256 characters | -| BINARY | 256 characters | +| CHAR | 255 characters | +| BINARY | 255 characters | | VARBINARY | 65535 characters | | VARCHAR | 16383 characters | | TEXT | Defaults to 6 MiB and can be adjusted to 120 MiB |