From: Peter Rabbitson Date: Wed, 14 Apr 2010 21:34:57 +0000 (+0000) Subject: Not sure how this was never noticed, but it definitely doesn't seem right and all... X-Git-Tag: v0.08122~72^2~12 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=380d34f5ff28117040d798a17b3a4c6b3116e19f;p=dbsrgits%2FDBIx-Class.git Not sure how this was never noticed, but it definitely doesn't seem right and all tests pass... --- diff --git a/lib/DBIx/Class/Row.pm b/lib/DBIx/Class/Row.pm index f9784d0..baffe72 100644 --- a/lib/DBIx/Class/Row.pm +++ b/lib/DBIx/Class/Row.pm @@ -314,7 +314,7 @@ sub insert { MULTICREATE_DEBUG and warn "MC $self pre-reconstructing $relname $rel_obj\n"; - my $them = { %{$rel_obj->{_relationship_data} || {} }, $rel_obj->get_inflated_columns }; + my $them = { %{$rel_obj->{_relationship_data} || {} }, $rel_obj->get_columns }; my $existing; # if there are no keys - nothing to search for