Not sure how this was never noticed, but it definitely doesn't seem right and all...
Peter Rabbitson [Wed, 14 Apr 2010 21:34:57 +0000 (21:34 +0000)]
lib/DBIx/Class/Row.pm

index f9784d0..baffe72 100644 (file)
@@ -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