Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update docs for deprecate-integer-display-length=true #19159

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions data-type-numeric.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ TiDB supports all the MySQL numeric types, including:

## Integer types

> **Warning:**
>
> Note that specifying an integer display width is not recommended.

TiDB supports all the MySQL integer types, including `INTEGER`/`INT`, `TINYINT`, `SMALLINT`, `MEDIUMINT`, and `BIGINT`. For more information, see [Integer Data Type Syntax in MySQL](https://dev.mysql.com/doc/refman/8.0/en/integer-types.html).

The following table summarizes field descriptions:
Expand Down
2 changes: 1 addition & 1 deletion tidb-configuration-file.md
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ The TiDB configuration file supports more options than command-line parameters.
### `deprecate-integer-display-length`

- Deprecates the display width for integer types when this configuration item is set to `true`.
- Default value: `false`
- Default value: `true`

### `enable-tcp4-only` <span class="version-mark">New in v5.0</span>

Expand Down
Loading