]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 411486: Oracle fails to add a new custom field - Patch by Xiaoou <xiaoou.wu@oracl...
authorlpsolit%gmail.com <>
Wed, 9 Jan 2008 21:14:02 +0000 (21:14 +0000)
committerlpsolit%gmail.com <>
Wed, 9 Jan 2008 21:14:02 +0000 (21:14 +0000)
Bugzilla/DB/Schema.pm

index 2f7df56c18faab00d1aa242c3e7080856fa0ee5b..23f6e0ca4dcd349e59243503e977b7d57ec06c90 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 ". $self->ADD_COLUMN ." $column " .
         $self->get_type_ddl($definition));
 
     # XXX - Note that although this works for MySQL, most databases will fail