Bug 349363: DB::bz_add_column() shouldn't print anything when called from editfields.cgi - Patch by Frédéric Buclin <LpSolit@gmail.com> r=mkanat a=myk
git-svn-id: svn://10.0.0.236/trunk@208050 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -435,7 +435,8 @@ sub bz_add_column {
|
||||
my @statements = $self->_bz_real_schema->get_add_column_ddl(
|
||||
$table, $name, $new_def,
|
||||
defined $init_value ? $self->quote($init_value) : undef);
|
||||
print "Adding new column $name to table $table ...\n";
|
||||
print "Adding new column $name to table $table ...\n"
|
||||
unless i_am_cgi();
|
||||
foreach my $sql (@statements) {
|
||||
$self->do($sql);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user