summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBodo-Merle Sandor <sbodomerle@gmail.com>2011-07-31 14:14:37 +0200
committerFrédéric Buclin <LpSolit@gmail.com>2011-07-31 14:14:37 +0200
commit2a32a01cd5973a2cd0c03e79405ae75ecb3f48d4 (patch)
tree8028a5b6ae7a83fba6de84c254a0625c285d1e27
parent33895dda1a40714b087f18f0233c602e10ad1962 (diff)
downloadbugzilla-2a32a01cd5973a2cd0c03e79405ae75ecb3f48d4.tar.gz
bugzilla-2a32a01cd5973a2cd0c03e79405ae75ecb3f48d4.tar.xz
Bug 673702: Undefined get_add_fk_sql in Bugzilla/DB/Schema.pm
r/a=mkanat
-rw-r--r--Bugzilla/DB/Schema.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/Bugzilla/DB/Schema.pm b/Bugzilla/DB/Schema.pm
index 85a430f10..fb62965e3 100644
--- a/Bugzilla/DB/Schema.pm
+++ b/Bugzilla/DB/Schema.pm
@@ -2176,8 +2176,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);