summaryrefslogtreecommitdiffstats
path: root/checksetup.pl
diff options
context:
space:
mode:
authorjake%acutex.net <>2001-07-23 23:33:04 +0200
committerjake%acutex.net <>2001-07-23 23:33:04 +0200
commitb1a6027d52b7fe7d0d7824913d4a3da655cd0e64 (patch)
tree511fb3ba9a93e6c6169a6d83928c16f35f04f0cf /checksetup.pl
parent0134058c88fbefa005cf7fe7340b5f8e9f03282c (diff)
downloadbugzilla-b1a6027d52b7fe7d0d7824913d4a3da655cd0e64.tar.gz
bugzilla-b1a6027d52b7fe7d0d7824913d4a3da655cd0e64.tar.xz
Remove the code for rejecting the version of MySQL with broken encryption (as bugzilla no longer uses MySQL's encrypt routine). Also, point to mysql.com for downloading newer versions.
Patch by Myk Melez <myk@mozilla.org> r= jake@acutex.net
Diffstat (limited to 'checksetup.pl')
-rwxr-xr-xchecksetup.pl17
1 files changed, 8 insertions, 9 deletions
diff --git a/checksetup.pl b/checksetup.pl
index b0f293b61..48dc8aa67 100755
--- a/checksetup.pl
+++ b/checksetup.pl
@@ -765,15 +765,14 @@ if ($my_db_check) {
my ($sql_vers) = $qh->fetchrow_array;
$qh->finish;
- my $sql_vok = ((vers_cmp($sql_vers,$sql_want) > -1)
- && ($sql_vers ne "3.23.29")); # encrypt() is broken in 3.23.29
- print (($sql_vok ? "ok: " : " "), "found v$sql_vers\n");
- print "\n";
- unless ($sql_vok) {
- die "Your MySQL server is either too old or a known broken version.\n",
- " Bugzilla requires version $sql_want or later of MySQL.\n",
- ($sql_vers eq "3.23.29") ? "Version 3.23.29 has a broken encrypt() command. 3.23.30 fixes this.\n" : "",
- " Please visit http://www.mysql.com and download a newer version.\n";
+ # Check what version of MySQL is installed and let the user know
+ # if the version is too old to be used with Bugzilla.
+ if ( vers_cmp($sql_vers,$sql_want) > -1 ) {
+ print "ok: found v$sql_vers\n\n";
+ } else {
+ die "Your MySQL server v$sql_vers is too old./n" .
+ " Bugzilla requires version $sql_want or later of MySQL.\n" .
+ " Please visit http://www.mysql.com/ and download a newer version.\n";
}
my @databases = $dbh->func('_ListDBs');