]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 204217: require MySQL version 4.0+
authormkanat%kerio.com <>
Tue, 12 Jul 2005 05:07:14 +0000 (05:07 +0000)
committermkanat%kerio.com <>
Tue, 12 Jul 2005 05:07:14 +0000 (05:07 +0000)
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=joel, a=justdave

Bugzilla/DB/Mysql.pm
checksetup.pl
docs/xml/Bugzilla-Guide.xml

index 983cb3b06acad20c0cdca46fd16973bd2ab761bb..77127630cfc41ac3669b75796a038ae22a35d62e 100644 (file)
@@ -47,7 +47,7 @@ use Bugzilla::Error;
 # This module extends the DB interface via inheritance
 use base qw(Bugzilla::DB);
 
-use constant REQUIRED_VERSION => '3.23.41';
+use constant REQUIRED_VERSION => '4.0.14';
 use constant PROGRAM_NAME => 'MySQL';
 use constant MODULE_NAME  => 'Mysql';
 use constant DBD_VERSION  => '2.9003';
index d0652716f11262d918524bad3195672ca8e480d7..c86a2e4272007ba94abc6bcb9587fc296ead0435 100755 (executable)
@@ -1499,12 +1499,6 @@ if ($my_db_check) {
             "   Bugzilla requires version $sql_want or later of $sql_server.\n" . 
             "   Please download and install a newer version.\n";
     }
-    # This message is specific to MySQL.
-    if ($dbh->isa('Bugzilla::DB::Mysql') && ($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";
-    }
 
     # See if we can connect to the database.
     my $conn_success = eval { 
index 686bdb46229c4a59254495a7fc82207230d35899..7202405525972146c0368de66f6234edfb17d13f 100644 (file)
@@ -42,7 +42,7 @@
 <!ENTITY mysql "http://www.mysql.com/">
 
 <!-- For minimum versions -->
-<!ENTITY min-mysql-ver "3.23.41">
+<!ENTITY min-mysql-ver "4.0.14">
 <!ENTITY min-pg-ver "7.3.x">
 <!ENTITY min-perl-ver "5.6.1">
 <!ENTITY min-perl-ver-win "5.8.1">