X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FDBIx%2FClass%2FSchema%2FLoader%2FDBI%2FComponent%2FQuotedDefault.pm;h=772dbb24b252fab86f761a99986834a220c5b271;hb=afa71a988919e114101e41f0241b08ffc2f436f5;hp=231b4e7c5dcc4a6f8ab1f51b87b94ca95a675f76;hpb=dec809869e443d2b09cb4d86835dadc489d1d116;p=dbsrgits%2FDBIx-Class-Schema-Loader.git diff --git a/lib/DBIx/Class/Schema/Loader/DBI/Component/QuotedDefault.pm b/lib/DBIx/Class/Schema/Loader/DBI/Component/QuotedDefault.pm index 231b4e7..772dbb2 100644 --- a/lib/DBIx/Class/Schema/Loader/DBI/Component/QuotedDefault.pm +++ b/lib/DBIx/Class/Schema/Loader/DBI/Component/QuotedDefault.pm @@ -5,7 +5,7 @@ use warnings; use base 'DBIx::Class::Schema::Loader::DBI'; use mro 'c3'; -our $VERSION = '0.07020'; +our $VERSION = '0.07048_01'; =head1 NAME @@ -24,7 +24,7 @@ sub _columns_info_for { my $self = shift; my ($table) = @_; - my $result = $self->next::method(@_); + my ($result,$raw) = $self->next::method(@_); while (my ($col, $info) = each %$result) { if (my $def = $info->{default_value}) { @@ -52,7 +52,7 @@ sub _columns_info_for { } } - return $result; + return wantarray ? ($result, $raw) : $result; } 1; @@ -62,9 +62,9 @@ sub _columns_info_for { L, L, L -=head1 AUTHOR +=head1 AUTHORS -See L and L. +See L. =head1 LICENSE