From: Matt S Trout Date: Mon, 22 Apr 2019 03:40:09 +0000 (+0000) Subject: eliminate sucky use of row X-Git-Tag: v1.90_01~158 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=51ccda04f35c44d4556c003d162ebcec72352230;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},