Skip to content

Commit

Permalink
test for #154 included
Browse files Browse the repository at this point in the history
  • Loading branch information
wumpz committed Jul 23, 2015
1 parent 157eebf commit 001d665
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/test/java/net/sf/jsqlparser/test/select/SelectTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -1783,4 +1783,8 @@ public void testRowConstructor1() throws JSQLParserException {
public void testRowConstructor2() throws JSQLParserException {
assertSqlCanBeParsedAndDeparsed("SELECT * FROM t1 WHERE ROW(col1, col2) = (SELECT col3, col4 FROM t2 WHERE id = 10)");
}

public void testIssue154() throws JSQLParserException {
assertSqlCanBeParsedAndDeparsed("SELECT d.id, d.uuid, d.name, d.amount, d.percentage, d.modified_time FROM discount d LEFT OUTER JOIN discount_category dc ON d.id = dc.discount_id WHERE merchant_id = ? AND deleted = ? AND dc.discount_id IS NULL AND modified_time < ? AND modified_time >= ? ORDER BY modified_time");
}
}

0 comments on commit 001d665

Please sign in to comment.