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

Installer & Upgrader int cleanup for mysql 8+ #7791

Merged
merged 2 commits into from
Sep 14, 2023

Conversation

@sbulen sbulen added this to the 2.1.5 milestone Jul 9, 2023
@live627
Copy link
Contributor

live627 commented Jul 9, 2023

This seems to me 2.2 territory. We don't introduce database changes in patches, unless some policy change happened...?

@sbulen
Copy link
Contributor Author

sbulen commented Jul 9, 2023

We're good. It's not a structural change. No code impact. These values aren't used at all.

If it is technically in violation of a policy somewhere, we can rewrite that policy.

@jdarwood007
Copy link
Member

I believe if you upgrade to mysql 8 with these, they are just ignored. So I agree its just aligning with MySQL 8 (and technically other RDBMS) to ignore the size on the int based fields, since they already explicitly have a size. MySQL did some funky logic with how to display it with the size specified and zerofill specified. See for more history https://dev.mysql.com/doc/refman/8.0/en/numeric-type-attributes.html

@Sesquipedalian Sesquipedalian merged commit ec98128 into SimpleMachines:release-2.1 Sep 14, 2023
8 checks passed
@sbulen sbulen deleted the installer_ints branch October 14, 2023 17:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants