Skip to content

Commit

Permalink
fixes #755 - corrected error introduced due to corrected ExpressionDe…
Browse files Browse the repository at this point in the history
…Parser.
  • Loading branch information
wumpz committed Mar 20, 2019
1 parent a690558 commit 0002cb7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -410,6 +410,7 @@ public void visit(Function function) {
buffer.append("()");
} else {
boolean oldUseBracketsInExprList = useBracketsInExprList;
useBracketsInExprList = true;
if (function.isDistinct()) {
useBracketsInExprList = false;
buffer.append("(DISTINCT ");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public class SpecialOracleTest {
private static final File SQLS_DIR = new File("target/test-classes/net/sf/jsqlparser/statement/oracle-tests");
private static final Logger LOG = Logger.getLogger(SpecialOracleTest.class.getName());

private List<String> successes = Arrays.asList("aggregate01.sql",
private final List<String> successes = Arrays.asList("aggregate01.sql",
"analytic_query06.sql",
"analytic_query08.sql",
"analytic_query09.sql",
Expand Down

0 comments on commit 0002cb7

Please sign in to comment.