Commit 308e6119 authored by Frédéric Buclin's avatar Frédéric Buclin

Bug 852560: Bugzilla cannot be installed with MySQL 5.6, because the have_innodb…

Bug 852560: Bugzilla cannot be installed with MySQL 5.6, because the have_innodb variable no longer exists r=glob a=LpSolit
parent a9f2bb67
......@@ -308,9 +308,8 @@ sub bz_setup_database {
# hard to fix later. We do this up here because none of the code below
# works if InnoDB is off. (Particularly if we've already converted the
# tables to InnoDB.)
my ($innodb_on) = @{$self->selectcol_arrayref(
q{SHOW VARIABLES LIKE '%have_innodb%'}, {Columns=>[2]})};
if ($innodb_on ne 'YES') {
my %engines = @{$self->selectcol_arrayref('SHOW ENGINES', {Columns => [1,2]})};
if (!$engines{InnoDB} || $engines{InnoDB} !~ /^(YES|DEFAULT)$/) {
die install_string('mysql_innodb_disabled');
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment