Commit c38c549a authored by Jiří Netolický's avatar Jiří Netolický Committed by Frédéric Buclin

Bug 919475: [Oracle] Crash when non-mandatory free text custom fields are left…

Bug 919475: [Oracle] Crash when non-mandatory free text custom fields are left empty on bug creation r=LpSolit a=justdave
parent e93368bc
......@@ -204,6 +204,10 @@ sub get_add_column_ddl {
}
else {
@sql = $self->SUPER::get_add_column_ddl(@_);
# Create triggers to deal with empty string.
if ($definition->{TYPE} =~ /varchar|TEXT/i && $definition->{NOTNULL}) {
push(@sql, _get_notnull_trigger_ddl($table, $column));
}
}
return @sql;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment