зеркало из https://github.com/mozilla/pjs.git
Bug 411486: Oracle fails to add a new custom field - Patch by Xiaoou <xiaoou.wu@oracle.com> r/a=mkanat
This commit is contained in:
Родитель
46a5cc6d75
Коммит
a40fcd60ec
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче