[Bast-commits] r6252 - DBIx-Class/0.08/trunk/lib/DBIx/Class
ribasushi at dev.catalyst.perl.org
ribasushi at dev.catalyst.perl.org
Wed May 13 23:54:41 GMT 2009
Author: ribasushi
Date: 2009-05-13 23:54:41 +0000 (Wed, 13 May 2009)
New Revision: 6252
Modified:
DBIx-Class/0.08/trunk/lib/DBIx/Class/ResultSet.pm
Log:
join can be found without seen_join
Modified: DBIx-Class/0.08/trunk/lib/DBIx/Class/ResultSet.pm
===================================================================
--- DBIx-Class/0.08/trunk/lib/DBIx/Class/ResultSet.pm 2009-05-13 23:41:31 UTC (rev 6251)
+++ DBIx-Class/0.08/trunk/lib/DBIx/Class/ResultSet.pm 2009-05-13 23:54:41 UTC (rev 6252)
@@ -1315,7 +1315,7 @@
# Some attributes when present require a subquery
# This might not work on some database (mysql), but...
# it won't work without the subquery either so who cares
- if (grep { defined $self->{attrs}{$_} } qw/seen_join from rows group_by/) {
+ if (grep { defined $self->{attrs}{$_} } qw/join seen_join from rows group_by/) {
foreach my $pk ($self->result_source->primary_columns) {
$cond->{$pk} = { IN => $self->get_column($pk)->as_query };
More information about the Bast-commits
mailing list