From: Rafael Kitover Date: Sat, 13 Feb 2010 20:15:46 +0000 (+0000) Subject: fix fail in t/72pg.t related to new autoinc retrieval code in ::Row X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=0fe21c97557368cdc7b39023c9620aedce87a6f9;p=dbsrgits%2FDBIx-Class-Historic.git fix fail in t/72pg.t related to new autoinc retrieval code in ::Row --- diff --git a/lib/DBIx/Class/Row.pm b/lib/DBIx/Class/Row.pm index a446426..8d0293c 100644 --- a/lib/DBIx/Class/Row.pm +++ b/lib/DBIx/Class/Row.pm @@ -355,6 +355,7 @@ sub insert { my @non_pk_autoincs = grep { (not exists $pk{$_}) + && (not defined $self->get_column($_)) && $rsrc->column_info($_)->{is_auto_increment} } $rsrc->columns;