[wp-trac] [WordPress Trac] #60002: maybe_convert_table_to_utf8mb4() not work with new version of MySQL/MariaDB.
WordPress Trac
noreply at wordpress.org
Tue Dec 5 13:31:48 UTC 2023
#60002: maybe_convert_table_to_utf8mb4() not work with new version of
MySQL/MariaDB.
--------------------------+------------------------------
Reporter: okvee | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Comment (by ayeshrajans):
Tested with MySQL 8.2, and `SHOW FULL COLUMNS FROM `$table`` indeed
returns `utf8mb3_...` as the collation name. So I think you are right,
that we need to change that line to something like this:
{{{
if ( 'utf8' !== $charset && 'utf8mb3' !== $charset && 'utf8mb4' !==
$charset ) {
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/60002#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list