fix up stupid mistake I made merging
Matt S Trout [Tue, 29 May 2007 01:15:46 +0000 (01:15 +0000)]
lib/DBIx/Class/Row.pm

index e4d885a..19b1a76 100644 (file)
@@ -142,9 +142,6 @@ sub insert {
     if $self->can('result_source_instance');
   $self->throw_exception("No result_source set on this object; can't insert")
     unless $source;
-  #use Data::Dumper; warn Dumper($self);
-  # Check if we stored uninserted relobjs here in new()
-  $source->storage->txn_begin if(!$self->{_rel_in_storage});
 
   # Check if we stored uninserted relobjs here in new()
   my %related_stuff = (%{$self->{_relationship_data} || {}},