From: Justin Hunter Date: Sat, 22 Aug 2009 21:39:50 +0000 (-0700) Subject: remove extraneous return X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=9ad20a7287b0098459905293f5145a9c177e9a43;p=dbsrgits%2FSQL-Translator-2.0-ish.git remove extraneous return --- diff --git a/lib/SQL/Translator/Parser/DBI.pm b/lib/SQL/Translator/Parser/DBI.pm index 4ecf21a..5902489 100644 --- a/lib/SQL/Translator/Parser/DBI.pm +++ b/lib/SQL/Translator/Parser/DBI.pm @@ -53,9 +53,9 @@ role SQL::Translator::Parser::DBI { method _is_auto_increment(HashRef $column_info) { 0 } - method _column_default_value(HashRef $column_info) { return $column_info->{COLUMN_DEF}; } + method _column_default_value(HashRef $column_info) { $column_info->{COLUMN_DEF} } - method _column_data_type(HashRef $column_info) { return $column_info->{DATA_TYPE}; } + method _column_data_type(HashRef $column_info) { $column_info->{DATA_TYPE} } method _add_tables(Schema $schema) { my $sth = $self->dbh->table_info($self->catalog_name, $self->schema_name, '%', "TABLE,VIEW,'LOCAL TEMPORARY','GLOBAL TEMPORARY'");