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

Enable integer display width deprecation by default #56533

Closed
dveeden opened this issue Oct 10, 2024 · 0 comments · Fixed by #56529
Closed

Enable integer display width deprecation by default #56533

dveeden opened this issue Oct 10, 2024 · 0 comments · Fixed by #56529
Labels
compatibility-mysql8 This is a compatibility issue with MySQL 8.0(but NOT 5.7) type/compatibility type/enhancement The issue or PR belongs to an enhancement.

Comments

@dveeden
Copy link
Contributor

dveeden commented Oct 10, 2024

Enhancement

The DeprecateIntegerDisplayWidth / deprecate-integer-display-length option is now disabled by default.

As display width has been deprecated and is hidden in MySQL it would be good to follow this behavior in MySQL.

The display width is often mistaken for storage size, leading people to believe int(10) takes more storage than int(8), which isn't the case.

Related

@dveeden dveeden added the type/enhancement The issue or PR belongs to an enhancement. label Oct 10, 2024
@dveeden dveeden added type/compatibility compatibility-mysql8 This is a compatibility issue with MySQL 8.0(but NOT 5.7) labels Oct 10, 2024
@ti-chi-bot ti-chi-bot bot closed this as completed in 4275195 Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compatibility-mysql8 This is a compatibility issue with MySQL 8.0(but NOT 5.7) type/compatibility type/enhancement The issue or PR belongs to an enhancement.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant