[Bast-commits] r6903 - DBIx-Class/0.08/trunk/lib/DBIx/Class
ribasushi at dev.catalyst.perl.org
ribasushi at dev.catalyst.perl.org
Wed Jul 1 10:22:00 GMT 2009
Author: ribasushi
Date: 2009-07-01 10:22:00 +0000 (Wed, 01 Jul 2009)
New Revision: 6903
Modified:
DBIx-Class/0.08/trunk/lib/DBIx/Class/Row.pm
Log:
Clarify exception text
Modified: DBIx-Class/0.08/trunk/lib/DBIx/Class/Row.pm
===================================================================
--- DBIx-Class/0.08/trunk/lib/DBIx/Class/Row.pm 2009-07-01 06:46:12 UTC (rev 6902)
+++ DBIx-Class/0.08/trunk/lib/DBIx/Class/Row.pm 2009-07-01 10:22:00 UTC (rev 6903)
@@ -1087,7 +1087,7 @@
} elsif ($accessor eq 'filter') {
$new->{_inflated_column}{$pre} = $fetched;
} else {
- $class->throw_exception("Prefetch not supported with accessor '$accessor'");
+ $class->throw_exception("Implicit prefetch (via select/columns) not supported with accessor '$accessor'");
}
$new->related_resultset($pre)->set_cache([ $fetched ]);
}
More information about the Bast-commits
mailing list