]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 730598: Running checksetup.pl twice deletes the DEFAULT value of the bug_see_also...
authorFrédéric Buclin <LpSolit@gmail.com>
Mon, 27 Feb 2012 14:10:45 +0000 (15:10 +0100)
committerFrédéric Buclin <LpSolit@gmail.com>
Mon, 27 Feb 2012 14:10:45 +0000 (15:10 +0100)
r=timello a=LpSolit

Bugzilla/Install/DB.pm

index 28c762d289dc2d4c8f732ddedfbe6fbce859e0d6..6b9dd65cd021b96494126a258860b3ccd6cc84e4 100644 (file)
@@ -3600,7 +3600,7 @@ sub _populate_bug_see_also_class {
     if ($dbh->bz_column_info('bug_see_also', 'class')) {
         # The length was incorrectly set to 64 instead of 255.
         $dbh->bz_alter_column('bug_see_also', 'class',
-                              {TYPE => 'varchar(255)', NOTNULL => 1});
+                {TYPE => 'varchar(255)', NOTNULL => 1, DEFAULT => "''"});
         return;
     }