summaryrefslogtreecommitdiffstats
path: root/checksetup.pl
diff options
context:
space:
mode:
authorbugreport%peshkin.net <>2004-05-27 11:40:17 +0200
committerbugreport%peshkin.net <>2004-05-27 11:40:17 +0200
commit3a5de3cbf019668cc3963caa566feb1ee15b6e19 (patch)
tree822d974afbbc3e1092cb690faaa2a3a4cbfaec23 /checksetup.pl
parentc5718f3890535bb27a2db35c1f08b22b05e89ac4 (diff)
downloadbugzilla-3a5de3cbf019668cc3963caa566feb1ee15b6e19.tar.gz
bugzilla-3a5de3cbf019668cc3963caa566feb1ee15b6e19.tar.xz
Bug 243351: Fix mysql version sensitivity in case-sensitive search
r=jouni a=justdave
Diffstat (limited to 'checksetup.pl')
-rwxr-xr-xchecksetup.pl5
1 files changed, 5 insertions, 0 deletions
diff --git a/checksetup.pl b/checksetup.pl
index 8fc37f2ad..9d2357945 100755
--- a/checksetup.pl
+++ b/checksetup.pl
@@ -1449,6 +1449,11 @@ if ($my_db_check) {
" Bugzilla requires version $sql_want or later of MySQL.\n" .
" Please visit http://www.mysql.com/ and download a newer version.\n";
}
+ if (( $sql_vers =~ /^4\.0\.(\d+)/ ) && ($1 < 2)) {
+ die "\nYour MySQL server is incompatible with Bugzilla.\n" .
+ " Bugzilla does not support versions 4.x.x below 4.0.2.\n" .
+ " Please visit http://www.mysql.com/ and download a newer version.\n";
+ }
my @databases = $dbh->func('_ListDBs');
unless (grep /^$my_db_name$/, @databases) {