X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F71mysql.t;h=88d6ea2d431cb7c39fbca79a4767842e504f480d;hb=0d2035db29e32f333216c24cfc44c3631f64b7ff;hp=d8254dba5d3416b7d5b9c4efab266ad935238cfe;hpb=b5963465440da3fac2f38651f6470355b07a3a9d;p=dbsrgits%2FDBIx-Class.git diff --git a/t/71mysql.t b/t/71mysql.t index d8254db..88d6ea2 100644 --- a/t/71mysql.t +++ b/t/71mysql.t @@ -114,7 +114,7 @@ $schema->populate ('BooksInLibrary', [ # (mysql doesn't seem to like subqueries with equally named columns) # -SKIP: { +{ # try a ->has_many direction (due to a 'multi' accessor the select/group_by group is collapsed) my $owners = $schema->resultset ('Owners')->search ( { 'books.id' => { '!=', undef }}, @@ -126,7 +126,7 @@ SKIP: { is ($_->count, 2, 'Prefetched grouped search returns correct count'); } - # try a ->prefetch direction (no select collapse) + # try a ->belongs_to direction (no select collapse) my $books = $schema->resultset ('BooksInLibrary')->search ( { 'owner.name' => 'wiggle' }, { prefetch => 'owner', distinct => 1 }