Merge pull request #2783 from Wooza/patch-1

Bump mariadb-java-client to 3.0.7
This commit is contained in:
Rob Bygrave authored and GitHub committed 2022-08-17 14:55:20 +12:00
commit f5e9356451
2 files changed
+2 -2

No files matched your search

@@ -314,7 +314,7 @@ public final class CQuery<T> implements DbReadContext, CancelableQuery, SpiProfi
if (forwardOnlyHint) {
// Use forward only hints for large resultSet processing (Issue 56, MySql specific)
pstmt = conn.prepareStatement(sql, ResultSet.TYPE_FORWARD_ONLY, ResultSet.CONCUR_READ_ONLY);
pstmt.setFetchSize(Integer.MIN_VALUE);
pstmt.setFetchSize(1);
} else {
pstmt = conn.prepareStatement(sql);
}