Commit df68aac6 authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 500350: [Oracle] Use of uninitialized value in pattern match (m//) at…

Bug 500350: [Oracle] Use of uninitialized value in pattern match (m//) at Bugzilla/DB/Schema/Oracle.pm line 149 - Patch by Xiaoou <xiaoou.wu@oracle.com> r/a=mkanat
parent 1533b97c
......@@ -146,7 +146,7 @@ sub get_fk_ddl {
my $fk_name = $self->_get_fk_name($table, $column, $references);
# 'ON DELETE RESTRICT' is enabled by default
$delete = "" if ($delete =~ /RESTRICT/i);
$delete = "" if ( defined $delete && $delete =~ /RESTRICT/i);
my $fk_string = "\n CONSTRAINT $fk_name FOREIGN KEY ($column)\n"
. " REFERENCES $to_table($to_column)\n";
......
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