From: Peter Rabbitson Date: Mon, 8 Jun 2009 21:56:41 +0000 (+0000) Subject: duh X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=d758ec3652b4cf477612ddd5121bf116bcfca679;p=dbsrgits%2FDBIx-Class-Historic.git duh --- 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 }