[Bast-commits] r7899 -
DBIx-Class/0.08/branches/prefetch_bug-unqualified_column_in_search_related_cond/t/prefetch
ribasushi at dev.catalyst.perl.org
ribasushi at dev.catalyst.perl.org
Sun Nov 15 12:01:35 GMT 2009
Author: ribasushi
Date: 2009-11-15 12:01:34 +0000 (Sun, 15 Nov 2009)
New Revision: 7899
Modified:
DBIx-Class/0.08/branches/prefetch_bug-unqualified_column_in_search_related_cond/t/prefetch/via_search_related.t
Log:
TODOify test until we get an AST
Modified: DBIx-Class/0.08/branches/prefetch_bug-unqualified_column_in_search_related_cond/t/prefetch/via_search_related.t
===================================================================
--- DBIx-Class/0.08/branches/prefetch_bug-unqualified_column_in_search_related_cond/t/prefetch/via_search_related.t 2009-11-15 11:39:29 UTC (rev 7898)
+++ DBIx-Class/0.08/branches/prefetch_bug-unqualified_column_in_search_related_cond/t/prefetch/via_search_related.t 2009-11-15 12:01:34 UTC (rev 7899)
@@ -37,6 +37,7 @@
}, 'search_related prefetch with order_by works');
+TODO: { local $TODO = 'Unqualified columns in where clauses can not be fixed without an SQLA rewrite' if SQL::Abstract->VERSION < 2;
lives_ok ( sub {
my $no_prefetch = $schema->resultset('Track')->search_related(cd =>
{
@@ -64,6 +65,7 @@
);
}, 'search_related prefetch with condition referencing unqualified column of a joined table works');
+}
lives_ok (sub {
More information about the Bast-commits
mailing list