[Bast-commits] r8205 - in DBIx-Class/0.08/branches/oracle_shorten_aliases/lib/DBIx/Class/Storage: . DBI/Oracle

caelum at dev.catalyst.perl.org caelum at dev.catalyst.perl.org
Thu Dec 31 20:08:30 GMT 2009


Author: caelum
Date: 2009-12-31 20:08:30 +0000 (Thu, 31 Dec 2009)
New Revision: 8205

Modified:
   DBIx-Class/0.08/branches/oracle_shorten_aliases/lib/DBIx/Class/Storage/DBI.pm
   DBIx-Class/0.08/branches/oracle_shorten_aliases/lib/DBIx/Class/Storage/DBI/Oracle/Generic.pm
Log:
POD touchups

Modified: DBIx-Class/0.08/branches/oracle_shorten_aliases/lib/DBIx/Class/Storage/DBI/Oracle/Generic.pm
===================================================================
--- DBIx-Class/0.08/branches/oracle_shorten_aliases/lib/DBIx/Class/Storage/DBI/Oracle/Generic.pm	2009-12-31 20:02:50 UTC (rev 8204)
+++ DBIx-Class/0.08/branches/oracle_shorten_aliases/lib/DBIx/Class/Storage/DBI/Oracle/Generic.pm	2009-12-31 20:08:30 UTC (rev 8205)
@@ -282,7 +282,7 @@
 queries.
 
 Unfortunately, Oracle doesn't support identifiers over 30 chars in length, so
-if the L<DBIx::Class::Relationship> name is shortened here if necessary.
+the L<DBIx::Class::Relationship> name is shortened here if necessary.
 
 See L<DBIx::Class::Storage/"relname_to_table_alias">.
 

Modified: DBIx-Class/0.08/branches/oracle_shorten_aliases/lib/DBIx/Class/Storage/DBI.pm
===================================================================
--- DBIx-Class/0.08/branches/oracle_shorten_aliases/lib/DBIx/Class/Storage/DBI.pm	2009-12-31 20:02:50 UTC (rev 8204)
+++ DBIx-Class/0.08/branches/oracle_shorten_aliases/lib/DBIx/Class/Storage/DBI.pm	2009-12-31 20:08:30 UTC (rev 8205)
@@ -2521,9 +2521,12 @@
 L<DBIx::Class> uses L<DBIx::Class::Relationship> names as table aliases in
 queries.
 
-This hook is to allow specific C<Storage> drivers to change the way these
-aliases are named.
+This hook is to allow specific L<DBIx::Class::Storage> drivers to change the
+way these aliases are named.
 
+The default behavior is C<"$relname_$join_count" if $join_count > 1>, otherwise
+C<"$relname">.
+
 =cut
 
 sub relname_to_table_alias {




More information about the Bast-commits mailing list