minor changes to table/column comment code
authorRafael Kitover <rkitover@cpan.org>
Tue, 2 Aug 2011 10:07:38 +0000 (06:07 -0400)
committerRafael Kitover <rkitover@cpan.org>
Tue, 2 Aug 2011 10:07:38 +0000 (06:07 -0400)
commitea998e8ea908a2f10462740b568831737224a75e
tree2c775d0eb59dc31d4b2a6185058d4d59d84f1674
parent5c06aa08ab17d9d0e8437a990b5717238deeb8fd
minor changes to table/column comment code

Updates Changes.

Mentions Oracle support in generate_pod POD in ::Loader::Base.

Adds checking for generic comments via ->next::method in ::DBI::Oracle
as well.

Wraps table/column comment queries for MySQL on information_schema in
try blocks, as not all versions of MySQL have information_schema (5.0+
 do.)

Changes MySQL comment tests to use the new slurp_file util.

Makes the test messages in t/30_*.t more clear.
Changes
lib/DBIx/Class/Schema/Loader/Base.pm
lib/DBIx/Class/Schema/Loader/DBI/Oracle.pm
lib/DBIx/Class/Schema/Loader/DBI/mysql.pm
t/10_02mysql_common.t
t/30_02bad_comment_table.t
t/30_03no_comment_table.t