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-Tag: v0.08121~73^2~25 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=0fe21c97557368cdc7b39023c9620aedce87a6f9;p=dbsrgits%2FDBIx-Class.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;