X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FDBIx%2FClass%2FSchema%2FLoader%2FDBI%2FSybase.pm;h=9b8db6aea514f2a881bb3884a3ad1f5cd145eee5;hb=802a117545a5bd1a5d20152835a3aa7fb2e7b39f;hp=c64790c7909bdf12e939aafe5b3f6c9c3c92f5d0;hpb=6c3d66fe27774c94e3d59002097e252f209e288c;p=dbsrgits%2FDBIx-Class-Schema-Loader.git diff --git a/lib/DBIx/Class/Schema/Loader/DBI/Sybase.pm b/lib/DBIx/Class/Schema/Loader/DBI/Sybase.pm index c64790c..9b8db6a 100644 --- a/lib/DBIx/Class/Schema/Loader/DBI/Sybase.pm +++ b/lib/DBIx/Class/Schema/Loader/DBI/Sybase.pm @@ -9,7 +9,7 @@ use namespace::clean; use DBIx::Class::Schema::Loader::Table::Sybase (); -our $VERSION = '0.07036_02'; +our $VERSION = '0.07041'; =head1 NAME @@ -346,11 +346,9 @@ EOF } } - my @uniqs = map { [ $_ => $uniqs{$_} ] } keys %uniqs; - $self->dbh->do("USE [$current_db]"); - return \@uniqs; + return [ map { [ $_ => $uniqs{$_} ] } sort keys %uniqs ]; } sub _columns_info_for {