[Bast-commits] r8067 -
DBIx-Class/0.08/branches/mssql_limit_regression/t
ribasushi at dev.catalyst.perl.org
ribasushi at dev.catalyst.perl.org
Sat Dec 12 13:37:49 GMT 2009
Author: ribasushi
Date: 2009-12-12 13:37:48 +0000 (Sat, 12 Dec 2009)
New Revision: 8067
Modified:
DBIx-Class/0.08/branches/mssql_limit_regression/t/746mssql.t
Log:
prefetch does not get disassembled properly
Modified: DBIx-Class/0.08/branches/mssql_limit_regression/t/746mssql.t
===================================================================
--- DBIx-Class/0.08/branches/mssql_limit_regression/t/746mssql.t 2009-12-12 13:27:18 UTC (rev 8066)
+++ DBIx-Class/0.08/branches/mssql_limit_regression/t/746mssql.t 2009-12-12 13:37:48 UTC (rev 8067)
@@ -337,14 +337,14 @@
is ($books->page(2)->count_rs->next, 1, 'Prefetched grouped search returns correct count_rs');
}
-# make sure right-join-side ordering limit works
+# make sure right-join-side single-prefetch ordering limit works
{
my $rs = $schema->resultset ('BooksInLibrary')->search (
{
'owner.name' => [qw/wiggle woggle/],
},
{
- join => 'owner',
+ prefetch => 'owner',
order_by => { -desc => 'owner.name' },
}
);
More information about the Bast-commits
mailing list