X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FDBIx%2FClass%2FStorage%2FDBI.pm;h=d754a597f0d8f7f6bc6ac921a8d9a578bf7014b4;hb=7c8e6d16ab3abbb889100f8236267f6682abecac;hp=219bd4cd5585ca623e929f274096d30d0ac1288c;hpb=cbc3ee68a819d05e9dc9e7e34b6c5d4b661933bd;p=dbsrgits%2FDBIx-Class.git diff --git a/lib/DBIx/Class/Storage/DBI.pm b/lib/DBIx/Class/Storage/DBI.pm index 219bd4c..d754a59 100644 --- a/lib/DBIx/Class/Storage/DBI.pm +++ b/lib/DBIx/Class/Storage/DBI.pm @@ -1964,6 +1964,7 @@ sub insert { sub insert_bulk { my ($self, $source, $cols, $data) = @_; + use DDP; p $data; my @col_range = (0..$#$cols); # FIXME SUBOPTIMAL - most likely this is not necessary at all @@ -1971,7 +1972,6 @@ sub insert_bulk { # # forcibly stringify whatever is stringifiable # ResultSet::populate() hands us a copy - safe to mangle - # Check with Riba: is this still dangerous? for my $r (0 .. $#$data) { for my $c (0 .. $#{$data->[$r]}) { $data->[$r][$c] = "$data->[$r][$c]"