X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FDBIx%2FClass%2FSchema%2FLoader%2FDBI%2FMSSQL.pm;h=a0a178543d69ded032cafd5406a8ce0e2c4c7c68;hb=deedd5761dc499f7a9121734cd6a02eb8991c93f;hp=032e625b73f529009cc24362575a8490d5ee6efe;hpb=dc767cd32c6728d4d9c3504acd259c0b2f19da2b;p=dbsrgits%2FDBIx-Class-Schema-Loader.git diff --git a/lib/DBIx/Class/Schema/Loader/DBI/MSSQL.pm b/lib/DBIx/Class/Schema/Loader/DBI/MSSQL.pm index 032e625..a0a1785 100644 --- a/lib/DBIx/Class/Schema/Loader/DBI/MSSQL.pm +++ b/lib/DBIx/Class/Schema/Loader/DBI/MSSQL.pm @@ -6,7 +6,7 @@ use base 'DBIx::Class::Schema::Loader::DBI::Sybase::Common'; use Carp::Clan qw/^DBIx::Class/; use Class::C3; -our $VERSION = '0.05001'; +our $VERSION = '0.05003'; =head1 NAME @@ -27,14 +27,6 @@ See L. =cut -sub _setup { - my $self = shift; - - $self->next::method(@_); - $self->{db_schema} ||= $self->_build_db_schema; - $self->_set_quote_char_and_name_sep; -} - sub _table_pk_info { my ($self, $table) = @_; my $dbh = $self->schema->storage->dbh; @@ -97,11 +89,9 @@ sub _table_uniq_info { } sub _extra_column_info { - my ($self, $info) = @_; + my ($self, $table, $column, $info, $dbi_info) = @_; my %extra_info; - my ($table, $column) = @$info{qw/TABLE_NAME COLUMN_NAME/}; - my $dbh = $self->schema->storage->dbh; my $sth = $dbh->prepare(qq{ SELECT COLUMN_NAME