Skip to content

Commit

Permalink
0000952: Data can be skipped due to aggressive purge on some platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
chenson42 committed May 27, 2014
1 parent 7eb60a5 commit fe2504c
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -192,7 +192,7 @@ private long purgeDataRows(final Calendar time) {
private long[] queryForMinMax(String sql, Object... params) {
long[] minMax = sqlTemplate.queryForObject(sql, new ISqlRowMapper<long[]>() {
public long[] mapRow(Row rs) {
return new long[] { rs.getLong("min_id"), rs.getLong("max_id") };
return new long[] { rs.getLong("min_id"), rs.getLong("max_id")-1 };
}
}, params);
return minMax;
Expand Down

0 comments on commit fe2504c

Please sign in to comment.