From: lpsolit%gmail.com <> Date: Wed, 9 Jan 2008 21:14:02 +0000 (+0000) Subject: Bug 411486: Oracle fails to add a new custom field - Patch by Xiaoou r/a=mkanat --- diff --git a/Bugzilla/DB/Schema.pm b/Bugzilla/DB/Schema.pm index 2f7df56c18..23f6e0ca4d 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 ". $self->ADD_COLUMN ." $column " . $self->get_type_ddl($definition)); # XXX - Note that although this works for MySQL, most databases will fail