summaryrefslogtreecommitdiffstats
path: root/Bugzilla/DB
diff options
context:
space:
mode:
authorMax Kanat-Alexander <mkanat@bugzilla.org>2010-04-20 01:21:58 +0200
committerMax Kanat-Alexander <mkanat@bugzilla.org>2010-04-20 01:21:58 +0200
commit049ae4ae5d0367485910064f62b1baf38fdaad04 (patch)
tree1be645e4d0d5fdf6b1bb81aea55f07cabea0e361 /Bugzilla/DB
parent3944a53b67f20592b960f03c65d9ff2b490f58fb (diff)
downloadbugzilla-049ae4ae5d0367485910064f62b1baf38fdaad04.tar.gz
bugzilla-049ae4ae5d0367485910064f62b1baf38fdaad04.tar.xz
Bug 560284: Make all errors that checksetup.pl throws be red
r=mkanat, a=mkanat (module owner)
Diffstat (limited to 'Bugzilla/DB')
-rw-r--r--Bugzilla/DB/Mysql.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/Bugzilla/DB/Mysql.pm b/Bugzilla/DB/Mysql.pm
index daf34d04e..297cf5758 100644
--- a/Bugzilla/DB/Mysql.pm
+++ b/Bugzilla/DB/Mysql.pm
@@ -311,13 +311,12 @@ sub bz_setup_database {
my ($innodb_on) = @{$self->selectcol_arrayref(
q{SHOW VARIABLES LIKE '%have_innodb%'}, {Columns=>[2]})};
if ($innodb_on ne 'YES') {
- print <<EOT;
+ die <<EOT;
InnoDB is disabled in your MySQL installation.
Bugzilla requires InnoDB to be enabled.
Please enable it and then re-run checksetup.pl.
EOT
- exit 3;
}