Innodb support is not detected correctly

Bug #821850 reported by Markus M. on 2011-08-06
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MySQL Tuning Primer Script
Medium
TodoInTX

Bug Description

See this MySQL bug:
http://bugs.mysql.com/59393

InnoDB checks are performed even when InooDB is disabled.
So the script crashes.

Its better to check for the 'ignore_builtin_innodb' variable.

Markus M. (markus-mi) wrote :

Replace line 1236:

mysql_variable \'have_innodb\' have_innodb

with:

mysql_variable \'ignore_builtin_innodb\' have_innodb

Than InnoDB support is correctly detected.

Markus M. (markus-mi) wrote :

I forgot that you have to change:

if [ "$have_innodb" = "YES" ] ; then

to

if [ "$have_innodb" = "OFF" ] ; then

TodoInTX (matt-day32) wrote :

Thank you for your bug report

It is verified as described. The fix is less straight forward. I have to account for versions where ignore_builtin_innodb does not exist or where have_innodb variable will be deprecated.

A complete fix is pushed to revision 24

Changed in mysql-tuning-primer:
status: New → Fix Committed
importance: Undecided → Medium
assignee: nobody → TodoInTX (matt-day32)
TodoInTX (matt-day32) wrote :

errr.. try revision 26

Markus M. (markus-mi) wrote :

revision 26 works
thanks

TodoInTX (matt-day32) on 2011-08-06
Changed in mysql-tuning-primer:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers