Innodb support is not detected correctly

Bug #821850 reported by Markus M.
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MySQL Tuning Primer Script
Fix Released
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.

Revision history for this message
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.

Revision history for this message
Markus M. (markus-mi) wrote :

I forgot that you have to change:

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

to

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

Revision history for this message
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)
Revision history for this message
TodoInTX (matt-day32) wrote :

errr.. try revision 26

Revision history for this message
Markus M. (markus-mi) wrote :

revision 26 works
thanks

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.