Diffusion Baloo c6fc67aba070

[MTimeDB] Use exact match when exact match is requested

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

Description

[MTimeDB] Use exact match when exact match is requested

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

Reviewers: Baloo, Frameworks, ngraham, astippich, poboiko

Reviewed By: Baloo, ngraham

Subscribers: kde-frameworks-devel

Tags: Frameworks, Baloo

Differential Revision: https://phabricator.kde.org/D20330

Details

Committed
brunsApr 11 2019, 9:28 PM
Reviewer
Baloo
Differential Revision
D20330: [MTimeDB] Use exact match when exact match is requested
Parents
R293:6f4f31b89b0f: [balooctl] Cleanup handling of different positional arguments
Branches
Unknown
Tags
Unknown