[MTimeDB] Allow timestamp newer than the newest document in range match
ClosedPublic

Authored by bruns on Apr 7 2019, 2:56 AM.

Details

Summary

In case the timestamp in a LessEqual match is newer than the newest
document, MDB_SET_RANGE returns MDB_NOTFOUND. Set the cursor to the last
entry.

Test Plan

ctest

Diff Detail

Repository
R293 Baloo
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
bruns created this revision.Apr 7 2019, 2:56 AM
Restricted Application added projects: Frameworks, Baloo. · View Herald TranscriptApr 7 2019, 2:56 AM
Restricted Application added a subscriber: kde-frameworks-devel. · View Herald Transcript
bruns requested review of this revision.Apr 7 2019, 2:56 AM
ngraham accepted this revision.Apr 11 2019, 6:39 PM

Oh gosh.

This revision is now accepted and ready to land.Apr 11 2019, 6:39 PM
This revision was automatically updated to reflect the committed changes.