FYI,
With reference to earlier in this thread, the following patch fixes the test case above:
$ diff pt-archiver pt-archiver-patched 6247c6247 < $first_sql .= " AND ($col < " . $q->quote_val($val) . ")"; --- > $first_sql .= " AND ($col <= " . $q->quote_val($val) . ")";
FYI,
With reference to earlier in this thread, the following patch fixes the test case above:
$ diff pt-archiver pt-archiver-patched
6247c6247
< $first_sql .= " AND ($col < " . $q->quote_val($val) . ")";
---
> $first_sql .= " AND ($col <= " . $q->quote_val($val) . ")";