summaryrefslogtreecommitdiffstats
path: root/checksetup.pl
diff options
context:
space:
mode:
authorbbaetz%cs.mcgill.ca <>2001-11-08 07:42:32 +0100
committerbbaetz%cs.mcgill.ca <>2001-11-08 07:42:32 +0100
commite2a35933ed9e65075163f00b8346622babdeca48 (patch)
tree8b3819e4bd18ac8170117ab472a7f0cd4e96936f /checksetup.pl
parent4b650396251bd38ec3dfac75cdcd766a645a72e4 (diff)
downloadbugzilla-e2a35933ed9e65075163f00b8346622babdeca48.tar.gz
bugzilla-e2a35933ed9e65075163f00b8346622babdeca48.tar.xz
Require (temporarily) mysql >= 3.23.5 for the ~ operator, needed for the
fix to bug 107718. This should be removed when the group stuff lands (bug 60822). r=justdave x 2
Diffstat (limited to 'checksetup.pl')
-rwxr-xr-xchecksetup.pl10
1 files changed, 9 insertions, 1 deletions
diff --git a/checksetup.pl b/checksetup.pl
index 0a3edac79..a72492226 100755
--- a/checksetup.pl
+++ b/checksetup.pl
@@ -773,7 +773,15 @@ my $drh = DBI->install_driver($db_base)
if ($my_db_check) {
# Do we have the database itself?
- my $sql_want = "3.22.5"; # minimum version of MySQL
+ # XXX - as part of the fix for dataloss bug 107718, we need the ~
+ # operator, which isn't available in earlier versions, despite what
+ # the docs say. This is temporary, as we won't need bit fiddling
+ # once bug 60822 is fixed.
+ # A requirement for 3.23.x may become permenant though - see
+ # http://bugzilla.mozilla.org/show_bug.cgi?id=87958
+ my $sql_want = "3.23.5";
+
+ #my $sql_want = "3.22.5"; # minimum version of MySQL
# original DSN line was:
# my $dsn = "DBI:$db_base:$my_db_name;$my_db_host;$my_db_port";