Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Admin check: fix MySQL UTF-8 collation check
MySQL 5.5.3 introduced the 'utf8mb4' character which allows storage of up to 4-byte unicode characters (utf8 only allows 3 bytes) [1]. As a consequence, the current check for collation beginning with 'utf8_' returns false if the collation is utf8mb4. This adds a new check_api check_is_collation_utf8() function to ensure consistent checking of collation, and removes the underscore from the comparison string. Fixes #20426 [1] https://dev.mysql.com/doc/refman/5.5/en/charset-unicode-utf8mb4.html
- Loading branch information
Showing
2 changed files
with
11 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters