From: mkanat%bugzilla.org <> Date: Tue, 11 Dec 2007 11:45:47 +0000 (+0000) Subject: Fix a bug in the last checkin about ADD_COLUMN in Bugzilla::DB::Schema. X-Git-Tag: bugzilla-3.1.3~437 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=125a3c76d30a484d39553e423259dc2f12a660b4;p=thirdparty%2Fbugzilla.git Fix a bug in the last checkin about ADD_COLUMN in Bugzilla::DB::Schema. --- diff --git a/Bugzilla/DB/Schema.pm b/Bugzilla/DB/Schema.pm index 89ae99a627..023f018607 100644 --- a/Bugzilla/DB/Schema.pm +++ b/Bugzilla/DB/Schema.pm @@ -1751,7 +1751,7 @@ sub get_add_column_ddl { my ($self, $table, $column, $definition, $init_value) = @_; my @statements; - push(@statements, "ALTER TABLE $table". ADD_COLUMN ." $column " . + push(@statements, "ALTER TABLE $table ". ADD_COLUMN ." $column " . $self->get_type_ddl($definition)); # XXX - Note that although this works for MySQL, most databases will fail