WordPress.org

Make WordPress Core

Opened 22 months ago

Last modified 11 months ago

#43416 new feature request

Function to Maybe Convert Tables to InnoDB

Reported by: bhubbard Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Upgrade/Install Keywords:
Focuses: performance Cc:
PR Number:

Description

We already have a function called maybe_convert_table_to_utf8mb4(), so I think it might make sense to have one to convert the table engine to InnoDB. This could be really useful for developer who want to convert tables they have added, and core can use it on core tables during upgrades.

We can have checks in place for making sure the install is running MySQL 5.6.4 or higher.

maybe_convert_table_to_innodb()

Change History (2)

#1 @swissspidy
22 months ago

and core can use it on core tables during upgrades.

Note that WordPress doesn't specify a database engine and just uses MySQL's default-storage-engine setting.

#2 @pento
11 months ago

  • Version trunk deleted
Note: See TracTickets for help on using tickets.