From: Bodo-Merle Sandor Date: Sun, 31 Jul 2011 12:16:14 +0000 (+0200) Subject: Bug 673702: Undefined get_add_fk_sql in Bugzilla/DB/Schema.pm X-Git-Tag: bugzilla-4.0.2~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cd1c38fbb2985188451e7b675a38f60dc9f9fcf5;p=thirdparty%2Fbugzilla.git Bug 673702: Undefined get_add_fk_sql in Bugzilla/DB/Schema.pm r=mkanat a=LpSolit --- diff --git a/Bugzilla/DB/Schema.pm b/Bugzilla/DB/Schema.pm index 6245dbbc58..9a2902882f 100644 --- a/Bugzilla/DB/Schema.pm +++ b/Bugzilla/DB/Schema.pm @@ -2085,8 +2085,8 @@ sub get_add_column_ddl { if defined $init_value; if (defined $definition->{REFERENCES}) { - push(@statements, $self->get_add_fk_sql($table, $column, - $definition->{REFERENCES})); + push(@statements, $self->get_add_fks_sql($table, { $column => + $definition->{REFERENCES} })); } return (@statements);