X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FDBIx%2FClass%2FSchema%2FLoader%2FDBI.pm;h=0bfa58967a22a8862d717affd5876bb7078fc497;hb=46564a42215c5309753f3e0609ae1adddf68d083;hp=582c1ae634802aecb8a4b4cd0662692a07b30c4d;hpb=dc783fab900d073db1fb0e86b709cbb65bd364b7;p=dbsrgits%2FDBIx-Class-Schema-Loader.git diff --git a/lib/DBIx/Class/Schema/Loader/DBI.pm b/lib/DBIx/Class/Schema/Loader/DBI.pm index 582c1ae..0bfa589 100644 --- a/lib/DBIx/Class/Schema/Loader/DBI.pm +++ b/lib/DBIx/Class/Schema/Loader/DBI.pm @@ -10,7 +10,7 @@ use Carp::Clan qw/^DBIx::Class/; use namespace::clean; use DBIx::Class::Schema::Loader::Table (); -our $VERSION = '0.07045'; +our $VERSION = '0.07048_01'; __PACKAGE__->mk_group_accessors('simple', qw/ _disable_pk_detection @@ -273,7 +273,7 @@ sub _sth_for { my ($self, $table, $fields, $where) = @_; my $sth = $self->dbh->prepare($self->schema->storage->sql_maker - ->select(\$table->sql_name, $fields, $where)); + ->select(\$table->sql_name, $fields || \'*', $where)); return $sth; }