From: Matt S Trout Date: Mon, 22 Apr 2019 03:40:09 +0000 (+0000) Subject: eliminate sucky use of row X-Git-Tag: v2.000000~3^2~179 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=cbe3b5a9118dce2a896145115c320e4e96d71f90;p=dbsrgits%2FSQL-Abstract.git eliminate sucky use of row --- diff --git a/lib/SQL/Abstract/ExtraClauses.pm b/lib/SQL/Abstract/ExtraClauses.pm index 3467f23..386d1e3 100644 --- a/lib/SQL/Abstract/ExtraClauses.pm +++ b/lib/SQL/Abstract/ExtraClauses.pm @@ -238,7 +238,7 @@ sub _render_join { my @parts = ( $args->{from}, $self->format_keyword(join '_', ($args->{type}||()), 'join'), - (map +($_->{-ident} || $_->{-as} ? $_ : { -row => [ $_ ] }), $args->{to}), + (map +($_->{-ident} || $_->{-as} ? $_ : ('(', $_, ')')), $args->{to}), ($args->{on} ? ( $self->format_keyword('on') , $args->{on},