Skip to content

Commit

Permalink
Merge branch 'issue-491' into issue-491-2.3.x
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisdennis committed Oct 23, 2019
2 parents e990cd1 + 1b05029 commit bc6be51
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2612,7 +2612,7 @@ public List<TriggerKey> selectTriggerToAcquire(Connection conn, long noLaterThan
ps.setBigDecimal(3, new BigDecimal(String.valueOf(noEarlierThan)));
rs = ps.executeQuery();

while (rs.next() && nextTriggers.size() <= maxCount) {
while (rs.next() && nextTriggers.size() < maxCount) {
nextTriggers.add(triggerKey(
rs.getString(COL_TRIGGER_NAME),
rs.getString(COL_TRIGGER_GROUP)));
Expand Down

0 comments on commit bc6be51

Please sign in to comment.