From: Max Kanat-Alexander Date: Thu, 22 Apr 2010 00:46:24 +0000 (-0700) Subject: Add a comment above BOOLEAN_MAP to make it crystal clear that it does X-Git-Tag: bugzilla-3.7.1~111 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a5c2610c566e249e7d2cbfbe2b1ab2dda02eabc8;p=thirdparty%2Fbugzilla.git Add a comment above BOOLEAN_MAP to make it crystal clear that it does not now need to be updated. --- diff --git a/Bugzilla/DB/Schema/Mysql.pm b/Bugzilla/DB/Schema/Mysql.pm index a68c7c90de..8c9ea2dda3 100644 --- a/Bugzilla/DB/Schema/Mysql.pm +++ b/Bugzilla/DB/Schema/Mysql.pm @@ -43,6 +43,9 @@ use base qw(Bugzilla::DB::Schema); # that should be interpreted as a BOOLEAN instead of as an INT1 when # reading in the Schema from the disk. The values are discarded; I just # used "1" for simplicity. +# +# THIS CONSTANT IS ONLY USED FOR UPGRADES FROM 2.18 OR EARLIER. DON'T +# UPDATE IT TO MODERN COLUMN NAMES OR DEFINITIONS. use constant BOOLEAN_MAP => { bugs => {everconfirmed => 1, reporter_accessible => 1, cclist_accessible => 1, qacontact_accessible => 1,