summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2012-02-27 15:10:45 +0100
committerFrédéric Buclin <LpSolit@gmail.com>2012-02-27 15:10:45 +0100
commit4de13f571f0119c313a223474c1e64d7bdf6146f (patch)
tree30b12fb467c021a303c0be03470285fd6c0c5654 /Bugzilla
parent0f9e374c20bb56cf1df8733863d42f0660b8510a (diff)
downloadbugzilla-4de13f571f0119c313a223474c1e64d7bdf6146f.tar.gz
bugzilla-4de13f571f0119c313a223474c1e64d7bdf6146f.tar.xz
Bug 730598: Running checksetup.pl twice deletes the DEFAULT value of the bug_see_also.class column
r=timello a=LpSolit
Diffstat (limited to 'Bugzilla')
-rw-r--r--Bugzilla/Install/DB.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/Install/DB.pm b/Bugzilla/Install/DB.pm
index 28c762d28..6b9dd65cd 100644
--- a/Bugzilla/Install/DB.pm
+++ b/Bugzilla/Install/DB.pm
@@ -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;
}