Fixed mandatory LIMIT generation in case of firstRow>0

This commit is contained in:
Serhii Dakhnii
2022-11-30 21:36:08 +02:00
parent 6c6ec3663a
commit 3277fe81a1
2 changed files with 6 additions and 6 deletions
@@ -40,7 +40,7 @@ public class TestLimitQuery extends BaseTestCase {
String sql = query.getGeneratedSql();
if (isH2()) {
assertThat(sql).contains("offset 3");
assertThat(sql).contains("limit 0");
assertThat(sql).doesNotContain("limit");
}
}