]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Fix a bug in the last checkin about ADD_COLUMN in Bugzilla::DB::Schema.
authormkanat%bugzilla.org <>
Tue, 11 Dec 2007 11:45:47 +0000 (11:45 +0000)
committermkanat%bugzilla.org <>
Tue, 11 Dec 2007 11:45:47 +0000 (11:45 +0000)
Bugzilla/DB/Schema.pm

index 89ae99a627b0a814402ceffb6121888c0fbcb668..023f0186077e45c8e1ed97967f01a3dec4c5dc09 100644 (file)
@@ -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