X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FDBIx%2FClass%2FSchema%2FLoader%2FDBI%2FOracle.pm;h=ae67ebed85648fb1aab659026c4413d533ff68a1;hb=fe736ca0ce99fada4bf4b6d4dc6b2a7a08524827;hp=42dec0b78833cc0db68ba0ba7c1fa115efe940fe;hpb=e726230000730abe2ee6834f9569a7196e437e15;p=dbsrgits%2FDBIx-Class-Schema-Loader.git diff --git a/lib/DBIx/Class/Schema/Loader/DBI/Oracle.pm b/lib/DBIx/Class/Schema/Loader/DBI/Oracle.pm index 42dec0b..ae67ebe 100644 --- a/lib/DBIx/Class/Schema/Loader/DBI/Oracle.pm +++ b/lib/DBIx/Class/Schema/Loader/DBI/Oracle.pm @@ -1,4 +1,6 @@ -package DBIx::Class::Schema::Loader::DBI::Oracle; +package # hide from pause/cpan for now, as there's a permissions + # issue and it's screwing the rest of the package + DBIx::Class::Schema::Loader::DBI::Oracle; use strict; use warnings; @@ -6,7 +8,7 @@ use base 'DBIx::Class::Schema::Loader::DBI'; use Carp::Clan qw/^DBIx::Class/; use Class::C3; -our $VERSION = '0.03999_01'; +our $VERSION = '0.04004'; =head1 NAME @@ -30,6 +32,16 @@ This module is considered experimental and not well tested yet. =cut +sub _setup { + my $self = shift; + + $self->next::method(@_); + + my $dbh = $self->schema->storage->dbh; + $self->{db_schema} ||= $dbh->selectrow_array('SELECT USER FROM DUAL', {}); +} + + sub _table_columns { my ($self, $table) = @_;