[wp-trac] [WordPress Trac] #53623: MariaDB 10.6 renamed utf8 to utf8mb3
WordPress Trac
noreply at wordpress.org
Thu Jul 8 10:36:41 UTC 2021
#53623: MariaDB 10.6 renamed utf8 to utf8mb3
--------------------------+------------------------------
Reporter: skithund | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Database | Version:
Severity: normal | Resolution:
Keywords: needs-patch | Focuses:
--------------------------+------------------------------
Comment (by ayeshrajans):
Very nice find :)
I suppose we can conditionally `assertSame` by checking the db version and
the name.
From what I see, `self::$server_info` contains `MariaDB`, and
`self::$_wpdb->db_version()` returns the version. I don't have a MariaDB
test setup at the moment, and will try to put forth a patch this weekend.
Just wanted to share my 2 cents in the meantime.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/53623#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list