WordPress.org

Make WordPress Core

Opened 11 months ago

#38032 new defect (bug)

dbDelta() unit tests lock on MySQL 8.0

Reported by: pento Owned by:
Milestone: Future Release Priority: normal
Severity: normal Version:
Component: Build/Test Tools Keywords:
Focuses: Cc:

Description

Tests_dbDelta fails when running against MySQL 8.0.

WordPress database error Lock wait timeout exceeded; try restarting transaction for query 
                        CREATE TABLE wptests_dbdelta_test (
                                id bigint(20) NOT NULL AUTO_INCREMENT,
                                column_1 varchar(255) NOT NULL,
                                column_2 text,
                                column_3 blob,
                                PRIMARY KEY  (id),
                                KEY key_1 (column_1),
                                KEY compound_key (id,column_1),
                                FULLTEXT KEY fulltext_key (column_1)
                        ) ENGINE=MyISAM
                         made by PHPUnit_TextUI_Command::main, PHPUnit_TextUI_Command->run, PHPUnit_TextUI_TestRunner->doRun, PHPUnit_Framework_TestSuite->run, PHPUnit_Framework_TestSuite->run, PHPUnit_Framework_TestCase->run, PHPUnit_Framework_TestResult->run, PHPUnit_Framework_TestCase->runBare, Tests_dbDelta->setUp

Change History (0)

Note: See TracTickets for help on using tickets.