Skip to content

Conversation

@katzyn
Copy link
Contributor

@katzyn katzyn commented Apr 21, 2025

Closes #4217.

: "SELECT SQL FROM INFORMATION_SCHEMA.SESSION_STATE", Integer.MAX_VALUE);
ResultInterface result = ci.executeQuery(0, false);
: "SELECT SQL FROM INFORMATION_SCHEMA.SESSION_STATE");
ResultInterface result = ci.executeQuery(0, Integer.MAX_VALUE, false);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why not -1 here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because ci is actually a CommandRemote and it needs some sane value.

(But the whole method can be moved to SessionRemote.)

@katzyn katzyn merged commit 56c0b70 into h2database:master Apr 21, 2025
2 checks passed
@katzyn katzyn deleted the fetch branch April 21, 2025 12:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

JdbcPreparedStatement ignores query fetch size

2 participants