Skip to content
Permalink
Browse files

0000952: Data can be skipped due to aggressive purge on some platforms

  • Loading branch information...
chenson42 committed May 27, 2014
1 parent 7eb60a5 commit fe2504c6322f4c99cd68c43f58c8e4b52247b844
@@ -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;

0 comments on commit fe2504c

Please sign in to comment.
You can’t perform that action at this time.