Diffusion Baloo 94c39a1d5c69

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

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

Description

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

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

Reviewers: Baloo, Frameworks, ngraham, astippich, poboiko

Reviewed By: Baloo, ngraham

Subscribers: kde-frameworks-devel

Tags: Frameworks, Baloo

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

Details