X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FDBIx%2FClass%2FStorage%2FDBI%2FUniqueIdentifier.pm;h=6d48a4a4a66e9484908ea430861da6da5f6b4017;hb=f895c500473b77db4ecf185ed21530b821a14ed4;hp=8621da0a9001b4a5b22b4dee45a7405ecad90cc9;hpb=2edf33525bc7be0824693925c528791d84db98aa;p=dbsrgits%2FDBIx-Class.git diff --git a/lib/DBIx/Class/Storage/DBI/UniqueIdentifier.pm b/lib/DBIx/Class/Storage/DBI/UniqueIdentifier.pm index 8621da0..6d48a4a 100644 --- a/lib/DBIx/Class/Storage/DBI/UniqueIdentifier.pm +++ b/lib/DBIx/Class/Storage/DBI/UniqueIdentifier.pm @@ -59,9 +59,7 @@ sub _is_guid_type { sub _prefetch_autovalues { my $self = shift; - my ($source, $to_insert) = @_; - - my $col_info = $source->columns_info; + my ($source, $col_info, $to_insert) = @_; my %guid_cols; my @pk_cols = $source->primary_columns; @@ -92,7 +90,7 @@ sub _prefetch_autovalues { if (not defined $guid_method) { $self->throw_exception( - 'You must set new_guid on your storage. See perldoc ' + 'You must set new_guid() on your storage. See perldoc ' .'DBIx::Class::Storage::DBI::UniqueIdentifier' ); }