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

Fix MySQL Encoding Tables #1040

Merged
merged 9 commits into from
Apr 27, 2019
Merged

Conversation

felixbuenemann
Copy link
Contributor

Due to a bug in the generator script, missing MySQL encoding mappings caused empty strings instead of NULL mappings to be generated.

This PR fixes the mapping error and generates a WARNING to STDERR for missing mappings.

It also adds the two missing mappings that caused the problem and regenerates the encoding list based on the latest MySQL 8.0.16 community server on Ubuntu Xenial.

To avoid CI failures an update to the expired GPG key in support/5072E1F5.asc is also included and was copied from https://dev.mysql.com/doc/refman/8.0/en/checking-gpg-signature.html.

@felixbuenemann
Copy link
Contributor Author

I pushed another unrelated CI fix to use Xenial distribution for the DB=mysql80 matrix, because it was actually installing MySQL 5.5 due to missing MySQL 8.0 packages for Trusty.

* gem update --system tries to use rubygems-update 3.0 which requires
  ruby >= 2.3.0, so use ~> 2.7
* latest bundler 2.x also requires ruby >= 2.3.0, so use ~> 1.17
@felixbuenemann
Copy link
Contributor Author

CI errors are unrelated and already fixed by #1040.

@sodabrew
Copy link
Collaborator

Thank you!

@sodabrew sodabrew merged commit d7c91ff into brianmario:master Apr 27, 2019
@sodabrew sodabrew added this to the 0.5.3 milestone Apr 27, 2019
@felixbuenemann felixbuenemann deleted the fix-encoding-list branch April 29, 2019 06:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants