Skip to content

Use InnoDB engine for searchindex table instead of MyISAM if supported #3731

Description

@glitchedmob

Description

I recently came across an issue on one of our client's sites that was having problems searching. Turns out it was related to #3240 and changing the table to use InnoDB fixed the problem. But I'm wondering if maybe we can fix this problem once and for all. Would it be possible to add a check in the initial Craft migration to see if the MySQL version is greater than the version that added full text search to InnoDB tables and if so use the InnoDB engine instead of MyISAM?

I totally understand if this a change that's not worth adding, but I thought it might help people who ran into the same issue I did.

Metadata

Metadata

Assignees

Labels

enhancementimprovements to existing featuresmysql

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions