From 9fa10cab2c94a680239d6775191a34f4fe32f9ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dani=C3=ABl=20van=20Eeden?= Date: Tue, 19 Nov 2024 08:39:12 +0100 Subject: [PATCH] Update for cloud --- data-type-numeric.md | 12 ++++++++++++ data-type-overview.md | 12 ++++++++++++ 2 files changed, 24 insertions(+) diff --git a/data-type-numeric.md b/data-type-numeric.md index 5b97b970041fe..80b35b48260b6 100644 --- a/data-type-numeric.md +++ b/data-type-numeric.md @@ -18,10 +18,22 @@ TiDB supports all the MySQL integer types, including `INTEGER`/`INT`, `TINYINT`, The following table summarizes field descriptions: + + > **Warning:** > > Starting from v8.5.0, integer display width is deprecated ([`deprecate-integer-display-length`](/tidb-configuration-file.md#deprecate-integer-display-length) is `true` by default). Specifying display width for integer types is NOT recommended. + + + + +> **Warning:** +> +> Starting from v8.5.0, integer display width is deprecated. Specifying display width for integer types is NOT recommended. + + + | Syntax Element | Description | | -------- | ------------------------------- | | M | the display width of the type. Optional. | diff --git a/data-type-overview.md b/data-type-overview.md index 8de3d62b869cf..71e252e1c85bc 100644 --- a/data-type-overview.md +++ b/data-type-overview.md @@ -13,9 +13,21 @@ The definitions used for datatypes are specified as `T(M[, D])`. Where by: - `T` indicates the specific data type. - `M` indicates the maximum display width for integer types. For floating-point and fixed-point types, `M` is the total number of digits that can be stored (the precision). For string types, `M` is the maximum length. The maximum permissible value of M depends on the data type. + + > **Warning:** > > Starting from v8.5.0, integer display width is deprecated ([`deprecate-integer-display-length`](/tidb-configuration-file.md#deprecate-integer-display-length) is `true` by default). Specifying display width for integer types is NOT recommended. + + + + + > **Warning:** + > + > Starting from v8.5.0, integer display width is deprecated. Specifying display width for integer types is NOT recommended. + + + - `D` applies to floating-point and fixed-point types and indicates the number of digits following the decimal point (the scale). - `fsp` applies to the `TIME`, `DATETIME`, and `TIMESTAMP` types and represents the fractional seconds precision. The `fsp` value, if given, must be in the range 0 to 6. A value of 0 signifies that there is no fractional part. If omitted, the default precision is 0.