in practice, shoving a space after every ) turned out to suck
Matt S Trout [Mon, 16 Sep 2019 17:45:51 +0000 (17:45 +0000)]
lib/SQL/Abstract/Formatter.pm

index ffb5e18..2404d82 100644 (file)
@@ -55,7 +55,7 @@ sub _fold_sql {
       push @res, $folded."\n";
       $line_orig = $line
          = $indent0.')'.(
-           ($nl_post and $idx < $#parts) ? ' '.$nl_post : ' '
+           ($nl_post and $idx < $#parts) ? $nl_post : ''
          );
       next PART;
     }