[wp-trac] [WordPress Trac] #49344: Make tests running with MySQL 8.0
WordPress Trac
noreply at wordpress.org
Wed Feb 5 04:20:09 UTC 2020
#49344: Make tests running with MySQL 8.0
-------------------------+-----------------------------
Reporter: kaggdesign | Owner: SergeyBiryukov
Type: enhancement | Status: reviewing
Priority: normal | Milestone: 5.4
Component: Database | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
-------------------------+-----------------------------
Comment (by SergeyBiryukov):
Replying to [comment:3 SergeyBiryukov]:
> With the above issues resolved, there's still one failure on MySQL
8.0.17+:
> {{{
> 1)
Tests_dbDelta::test_wp_get_db_schema_does_no_alter_queries_on_existing_install
> Failed asserting that an array is empty.
> tests/phpunit/tests/dbdelta.php:693
> }}}
> This is caused by the same `bigint(20)`/`bigint` discrepancy coming from
`wp_get_db_schema()`. It should probably be explored in a new ticket,
since it would likely require changes not just to the tests, but also to
`wp_get_db_schema()` and/or `dbDelta()`.
Created #49364 to address this.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/49344#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list