summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Install
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2011-12-19 19:52:52 +0100
committerFrédéric Buclin <LpSolit@gmail.com>2011-12-19 19:52:52 +0100
commite647ec0703c903e4f64fad385ff39465f6f83ce0 (patch)
treecffa43af96d2be52ca6b093e667100340e5faa2a /Bugzilla/Install
parentb8ddbf70530669fb0fe15c9cfc36050344e1ebff (diff)
downloadbugzilla-e647ec0703c903e4f64fad385ff39465f6f83ce0.tar.gz
bugzilla-e647ec0703c903e4f64fad385ff39465f6f83ce0.tar.xz
Bug 711925: Update from 4.0 or older to 4.2 or trunk fails when bug_see_also field is populated
r=wicked a=LpSolit
Diffstat (limited to 'Bugzilla/Install')
-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 ae7ad581d..010dc7ad4 100644
--- a/Bugzilla/Install/DB.pm
+++ b/Bugzilla/Install/DB.pm
@@ -3572,7 +3572,7 @@ sub _populate_bug_see_also_class {
}
$dbh->bz_add_column('bug_see_also', 'class',
- {TYPE => 'varchar(255)', NOTNULL => 1}, '');
+ {TYPE => 'varchar(255)', NOTNULL => 1, DEFAULT => "''"}, '');
my $result = $dbh->selectall_arrayref(
"SELECT id, value FROM bug_see_also");