summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormkanat%kerio.com <>2005-07-12 07:07:14 +0200
committermkanat%kerio.com <>2005-07-12 07:07:14 +0200
commitd6075db7e7080f8e37b4eba0986fdc462a341735 (patch)
tree8bc32a886a53ed819ffe87d880a2a6ada3e284c7
parent7e546edc8f6666bb4b7dc8bd502251b666bd60c0 (diff)
downloadbugzilla-d6075db7e7080f8e37b4eba0986fdc462a341735.tar.gz
bugzilla-d6075db7e7080f8e37b4eba0986fdc462a341735.tar.xz
Bug 204217: require MySQL version 4.0+
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=joel, a=justdave
-rw-r--r--Bugzilla/DB/Mysql.pm2
-rwxr-xr-xchecksetup.pl6
-rw-r--r--docs/xml/Bugzilla-Guide.xml2
3 files changed, 2 insertions, 8 deletions
diff --git a/Bugzilla/DB/Mysql.pm b/Bugzilla/DB/Mysql.pm
index 983cb3b06..77127630c 100644
--- a/Bugzilla/DB/Mysql.pm
+++ b/Bugzilla/DB/Mysql.pm
@@ -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';
diff --git a/checksetup.pl b/checksetup.pl
index d0652716f..c86a2e427 100755
--- a/checksetup.pl
+++ b/checksetup.pl
@@ -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 {
diff --git a/docs/xml/Bugzilla-Guide.xml b/docs/xml/Bugzilla-Guide.xml
index 686bdb462..720240552 100644
--- a/docs/xml/Bugzilla-Guide.xml
+++ b/docs/xml/Bugzilla-Guide.xml
@@ -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">