Permalink
Browse files

Work around MySQL bug #59393 wrt. ignore-builtin-innodb.

  • Loading branch information...
1 parent 4df7667 commit 778cc60885ab0901f5a511dc056ef0c22f9f15e9 @scop scop committed Mar 6, 2011
Showing with 4 additions and 0 deletions.
  1. +4 −0 mysqltuner.pl
View
@@ -354,6 +354,10 @@ sub get_all_vars {
$line =~ /([a-zA-Z_]*)\s*(.*)/;
$mystat{$1} = $2;
}
+ # Workaround for MySQL bug #59393 wrt. ignore-builtin-innodb
+ if (($myvar{'ignore_builtin_innodb'} || "") eq "ON") {
+ $myvar{'have_innodb'} = "NO";
+ }
# have_* for engines is deprecated and will be removed in MySQL 5.6;
# check SHOW ENGINES and set corresponding old style variables.
# Also works around MySQL bug #59393 wrt. skip-innodb

0 comments on commit 778cc60

Please sign in to comment.