projects
/
dbsrgits/DBIx-Class-Schema-Loader.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Avoid upcoming DBIC warning on implicit SELECT * invocation (RT#118178)
[dbsrgits/DBIx-Class-Schema-Loader.git]
/
lib
/
DBIx
/
Class
/
Schema
/
Loader
/
DBI.pm
diff --git
a/lib/DBIx/Class/Schema/Loader/DBI.pm
b/lib/DBIx/Class/Schema/Loader/DBI.pm
index
9bc461e
..
f37775b
100644
(file)
--- a/
lib/DBIx/Class/Schema/Loader/DBI.pm
+++ b/
lib/DBIx/Class/Schema/Loader/DBI.pm
@@
-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;
}