We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e0bdc8b commit 931de7aCopy full SHA for 931de7a
jdbc-v2/src/test/java/com/clickhouse/jdbc/StatementTest.java
@@ -845,11 +845,16 @@ public void testMaxRowsWithOverflowMode() throws Exception {
845
}
846
assertEquals(count, 1000);
847
848
+ stmt.setMaxRows(0);
849
+ try (ResultSet rs = stmt.executeQuery("SELECT * FROM generate_series(0, 1000)")) {
850
+ int count = 0;
851
+ while (rs.next()) {
852
+ count++;
853
+ }
854
+ assertEquals(count, 1001);
855
856
-
857
858
859
860
@Test(groups = {"integration"})
0 commit comments