From: Jess Robinson Date: Wed, 12 Jul 2006 11:20:14 +0000 (+0000) Subject: Make "no_comments", the default for deploy X-Git-Tag: v0.07002~75^2~22 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=560eae53b25d05fddd98a3a16c0214897d97fcbb;p=dbsrgits%2FDBIx-Class.git Make "no_comments", the default for deploy --- diff --git a/lib/DBIx/Class/Storage/DBI.pm b/lib/DBIx/Class/Storage/DBI.pm index 84dc7b8..c020071 100644 --- a/lib/DBIx/Class/Storage/DBI.pm +++ b/lib/DBIx/Class/Storage/DBI.pm @@ -1036,7 +1036,7 @@ L. sub deploy { my ($self, $schema, $type, $sqltargs) = @_; - foreach my $statement ( $self->deployment_statements($schema, $type, undef, undef, $sqltargs) ) { + foreach my $statement ( $self->deployment_statements($schema, $type, undef, undef, { no_comments => 1, %$sqltargs }) ) { for ( split(";\n", $statement)) { next if($_ =~ /^--/); next if(!$_);