# if all primaries are already populated, skip auto-inc
my $populated = 0;
- map { $populated++ if $self->$_ } $self->primary_columns;
+ map { $populated++ if defined $self->$_ } $self->primary_columns;
return $ret if ( $populated == scalar $self->primary_columns );
my ($pri, $too_many) =