From 3a5de3cbf019668cc3963caa566feb1ee15b6e19 Mon Sep 17 00:00:00 2001 From: "bugreport%peshkin.net" <> Date: Thu, 27 May 2004 09:40:17 +0000 Subject: Bug 243351: Fix mysql version sensitivity in case-sensitive search r=jouni a=justdave --- checksetup.pl | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'checksetup.pl') 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) { -- cgit v1.2.3-24-g4f1b