Skip to content

Return at most maxCount triggers#490

Closed
bradbeck wants to merge 1 commit intoquartz-scheduler:masterfrom
bradbeck:StdJDBCDelegate-selectTriggerToAcquire-maxCount
Closed

Return at most maxCount triggers#490
bradbeck wants to merge 1 commit intoquartz-scheduler:masterfrom
bradbeck:StdJDBCDelegate-selectTriggerToAcquire-maxCount

Conversation

@bradbeck
Copy link
Copy Markdown
Contributor

@bradbeck bradbeck commented Sep 12, 2019

Addresses Issue: #491

In cases where the JDBC driver does not respect PreparedStatement.setFetchSize and PreparedStatement.setMaxRows, the current logic may return more than maxCount results.

@chrisdennis
Copy link
Copy Markdown
Contributor

Good catch. I've taken the liberty of rebasing your fix against the earliest commit (daggy fix: https://wiki.monotone.ca/DaggyFixes/) and added a unit test. That work is under a new PR #499

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.

2 participants