X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FDBIx%2FClass%2FSchema%2FLoader%2FDBI%2FADO.pm;h=bb6e7b6ada0f4a05b5cb75ad5c5f032531ffc49d;hb=46564a42215c5309753f3e0609ae1adddf68d083;hp=36b06a5bf783e4635be152d96b407d03ce8a4dfd;hpb=ae151d4f7f9d1bff0e912b03ff97c1aec918f867;p=dbsrgits%2FDBIx-Class-Schema-Loader.git diff --git a/lib/DBIx/Class/Schema/Loader/DBI/ADO.pm b/lib/DBIx/Class/Schema/Loader/DBI/ADO.pm index 36b06a5..bb6e7b6 100644 --- a/lib/DBIx/Class/Schema/Loader/DBI/ADO.pm +++ b/lib/DBIx/Class/Schema/Loader/DBI/ADO.pm @@ -5,7 +5,7 @@ use warnings; use base 'DBIx::Class::Schema::Loader::DBI'; use mro 'c3'; -our $VERSION = '0.07033'; +our $VERSION = '0.07048_01'; =head1 NAME @@ -20,27 +20,21 @@ See L for usage information. =cut sub _rebless { - my $self = shift; - - return if ref $self ne __PACKAGE__; - - my $dbh = $self->schema->storage->dbh; - my $dbtype = eval { $dbh->get_info(17) }; - unless ( $@ ) { - # Translate the backend name into a perl identifier - $dbtype =~ s/\W/_/gi; - my $class = "DBIx::Class::Schema::Loader::DBI::ADO::${dbtype}"; - if ($self->load_optional_class($class) && !$self->isa($class)) { - bless $self, $class; - $self->_rebless; - } - } -} - -sub _tables_list { - my ($self, $opts) = @_; + my $self = shift; - return $self->next::method($opts, undef, undef); + return if ref $self ne __PACKAGE__; + + my $dbh = $self->schema->storage->dbh; + my $dbtype = eval { $dbh->get_info(17) }; + unless ( $@ ) { + # Translate the backend name into a perl identifier + $dbtype =~ s/\W/_/gi; + my $class = "DBIx::Class::Schema::Loader::DBI::ADO::${dbtype}"; + if ($self->load_optional_class($class) && !$self->isa($class)) { + bless $self, $class; + $self->_rebless; + } + } } sub _filter_tables { @@ -58,9 +52,9 @@ L, L, L, L -=head1 AUTHOR +=head1 AUTHORS -See L and L. +See L. =head1 LICENSE