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=3a72b4ec5421d58f6e7e77be7fdc3a8d52b2479a;hpb=c34033b1f21ade200b20f78940c2c32a8843fd17;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 3a72b4e..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.07032'; +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 {