Re: [Dbmail-dev] search-sets: incorrect range
On 06-08-13 16:25, . . wrote: > //if (r > hi) r = hi; // <--- throw away this code > //if (r < lo) r = lo; // <--- throw away this code this appears to be enough. -- Paul J Stevenspjstevns @ gmail, twitter, skype, linkedi
[Dbmail-dev] search-sets: incorrect range
dbmail fails to pass last of search-sets' test: ok uid search uid $uidnext:4294967295 because left and right values of the input range are incorrectly reassigned: if (l == 0x) l = hi; // outlook ... if (r == 0x) r = hi; // outlook ... if (r > hi) r = hi; if (r < lo) r = lo; So,