I have no idea how feasible this is, but it would be nice if the module checked to see what engines are enabled and then grayed out ones that aren't. I totally forgot that I had skip-innodb and was wondering why it kept saying the DB was MyIsam.

CommentFileSizeAuthor
#4 dbtuner-956836.patch786 bytesmikeytown2
#2 expire-968366.patch1.15 KBmikeytown2

Comments

mikeytown2’s picture

Category: feature » bug

in dbtuner_engine_configuration() I do the SHOW ENGINES command to find what DB engine your database supports... looks like I need to also make sure the "Support" field isn't disabled. Currently only check that it doesn't equal 'NO'.
http://dev.mysql.com/doc/refman/5.1/en/show-engines.html

mikeytown2’s picture

Status: Active » Needs review
StatusFileSize
new1.15 KB
butler360’s picture

Is that the right patch?

mikeytown2’s picture

StatusFileSize
new786 bytes

lol. nope, wrong number. This is the correct patch

butler360’s picture

Works perfectly. If I uncomment skip-innodb then InnoDB is not selectable. If I comment it out it is selectable. Thanks!

mikeytown2’s picture

Status: Needs review » Fixed

committed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.