[MTimeDB] Use exact match when exact match is requested
ClosedPublic

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

Details

Summary

As MDB_SET_RANGE moves the cursor to the first element greater or equal
the key, and updates the key in place, MTimeDB::get typically returned
the first newer document, and all with the same timestamp.

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:55 AM
Restricted Application added projects: Frameworks, Baloo. · View Herald TranscriptApr 7 2019, 2:55 AM
Restricted Application added a subscriber: kde-frameworks-devel. · View Herald Transcript
bruns requested review of this revision.Apr 7 2019, 2:55 AM
ngraham accepted this revision.Apr 11 2019, 6:38 PM
This revision is now accepted and ready to land.Apr 11 2019, 6:38 PM
This revision was automatically updated to reflect the committed changes.