Revision history for Perl extension DBIx::Class::Schema::Loader
+0.07019 2012-03-28 17:23:09
- fix some errors due to case issues (RT#75805)
0.07018 2012-03-27 05:55:10
# Always remember to do all digits for the version even if they're 0
# i.e. first release of 0.XX *must* be 0.XX000. This avoids fBSD ports
# brain damage and presumably various other packaging systems too
-our $VERSION = '0.07018';
+our $VERSION = '0.07019';
__PACKAGE__->mk_group_accessors('inherited', qw/
_loader_args
use File::Temp 'tempfile';
use namespace::clean;
-our $VERSION = '0.07018';
+our $VERSION = '0.07019';
__PACKAGE__->mk_group_ro_accessors('simple', qw/
schema
use namespace::clean;
use DBIx::Class::Schema::Loader::Table ();
-our $VERSION = '0.07018';
+our $VERSION = '0.07019';
__PACKAGE__->mk_group_accessors('simple', qw/
_disable_pk_detection
my @columns = @{ $sth->{NAME} };
COL: for my $i (0 .. $#columns) {
- next COL if %{ $result{ $self->_lc($columns[$i]) }||{} };
+ next COL if %{ $result{ $columns[$i] }||{} };
my $column_info = {};
$column_info->{data_type} = lc $sth->{TYPE}[$i];
use base 'DBIx::Class::Schema::Loader::DBI';
use mro 'c3';
-our $VERSION = '0.07018';
+our $VERSION = '0.07019';
=head1 NAME
use Try::Tiny;
use namespace::clean;
-our $VERSION = '0.07018';
+our $VERSION = '0.07019';
=head1 NAME
/;
use mro 'c3';
-our $VERSION = '0.07018';
+our $VERSION = '0.07019';
=head1 NAME
use warnings;
use mro 'c3';
-our $VERSION = '0.07018';
+our $VERSION = '0.07019';
=head1 NAME
use DBIx::Class::Schema::Loader::Table ();
-our $VERSION = '0.07018';
+our $VERSION = '0.07019';
=head1 NAME
use base qw/DBIx::Class::Schema::Loader::DBI::InterBase/;
use mro 'c3';
-our $VERSION = '0.07018';
+our $VERSION = '0.07019';
=head1 NAME
use namespace::clean;
use DBIx::Class::Schema::Loader::Table::Informix ();
-our $VERSION = '0.07018';
+our $VERSION = '0.07019';
=head1 NAME
use namespace::clean;
use DBIx::Class::Schema::Loader::Table ();
-our $VERSION = '0.07018';
+our $VERSION = '0.07019';
sub _supports_db_schema { 0 }
use DBIx::Class::Schema::Loader::Table::Sybase ();
-our $VERSION = '0.07018';
+our $VERSION = '0.07019';
=head1 NAME
use base 'DBIx::Class::Schema::Loader::DBI';
use mro 'c3';
-our $VERSION = '0.07018';
+our $VERSION = '0.07019';
=head1 NAME
use namespace::clean;
use DBIx::Class::Schema::Loader::Table ();
-our $VERSION = '0.07018';
+our $VERSION = '0.07019';
__PACKAGE__->mk_group_accessors('simple', qw/
__ado_connection
/;
use mro 'c3';
-our $VERSION = '0.07018';
+our $VERSION = '0.07019';
=head1 NAME
/;
use mro 'c3';
-our $VERSION = '0.07018';
+our $VERSION = '0.07019';
=head1 NAME
/;
use mro 'c3';
-our $VERSION = '0.07018';
+our $VERSION = '0.07019';
=head1 NAME
use Try::Tiny;
use namespace::clean;
-our $VERSION = '0.07018';
+our $VERSION = '0.07019';
=head1 NAME
/;
use mro 'c3';
-our $VERSION = '0.07018';
+our $VERSION = '0.07019';
=head1 NAME
use namespace::clean;
use DBIx::Class::Schema::Loader::Table ();
-our $VERSION = '0.07018';
+our $VERSION = '0.07019';
=head1 NAME
use mro 'c3';
use DBIx::Class::Schema::Loader::Table ();
-our $VERSION = '0.07018';
+our $VERSION = '0.07019';
=head1 NAME
use DBIx::Class::Schema::Loader::Table::Sybase ();
-our $VERSION = '0.07018';
+our $VERSION = '0.07019';
=head1 NAME
use base 'DBIx::Class::Schema::Loader::DBI';
use mro 'c3';
-our $VERSION = '0.07018';
+our $VERSION = '0.07019';
=head1 NAME
use base 'DBIx::Class::Schema::Loader::DBI::MSSQL';
use mro 'c3';
-our $VERSION = '0.07018';
+our $VERSION = '0.07019';
=head1 NAME
package DBIx::Class::Schema::Loader::DBI::Writing;
use strict;
-our $VERSION = '0.07018';
+our $VERSION = '0.07019';
# Empty. POD only.
use List::Util 'first';
use List::MoreUtils 'any';
use Try::Tiny;
+use Scalar::Util 'blessed';
use namespace::clean;
use DBIx::Class::Schema::Loader::Table ();
-our $VERSION = '0.07018';
+our $VERSION = '0.07019';
=head1 NAME
if ($dbi_info->{mysql_values}) {
$extra_info{extra}{list} = $dbi_info->{mysql_values};
}
- if ( lc($dbi_info->{COLUMN_DEF}) eq 'current_timestamp'
+ if ((not blessed $dbi_info) # isa $sth
+ && lc($dbi_info->{COLUMN_DEF}) eq 'current_timestamp'
&& lc($dbi_info->{mysql_type_name}) eq 'timestamp') {
my $current_timestamp = 'current_timestamp';
use Class::Unload ();
use Class::Inspector ();
-our $VERSION = '0.07018';
+our $VERSION = '0.07019';
# Glossary:
#
use base 'DBIx::Class::Schema::Loader::RelBuilder::Compat::v0_05';
use mro 'c3';
-our $VERSION = '0.07018';
+our $VERSION = '0.07019';
sub _relnames_and_method {
my ( $self, $local_moniker, $rel, $cond, $uniqs, $counters ) = @_;
use namespace::clean;
use Lingua::EN::Inflect::Number ();
-our $VERSION = '0.07018';
+our $VERSION = '0.07019';
sub _to_PL {
my ($self, $name) = @_;
use base 'DBIx::Class::Schema::Loader::RelBuilder::Compat::v0_07';
use mro 'c3';
-our $VERSION = '0.07018';
+our $VERSION = '0.07019';
sub _normalize_name {
my ($self, $name) = @_;
=cut
-our $VERSION = '0.07018';
+our $VERSION = '0.07019';
sub _strip_id_postfix {
my ($self, $name) = @_;