From 3976e1a7df3b86e1ebc333949e4069cd1c6ac744 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Wed, 9 Jan 2008 21:14:02 +0000 Subject: Bug 411486: Oracle fails to add a new custom field - Patch by Xiaoou r/a=mkanat --- Bugzilla/DB/Schema.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Bugzilla/DB') diff --git a/Bugzilla/DB/Schema.pm b/Bugzilla/DB/Schema.pm index 2f7df56c1..23f6e0ca4 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 -- cgit v1.2.3-24-g4f1b