D20316: [MTimeDB] Fix lookup when time range should return empty set
Stefan BrĂ¼ns
noreply at phabricator.kde.org
Sat Apr 6 19:53:28 BST 2019
bruns created this revision.
bruns added reviewers: Baloo, Frameworks, dfaure, ngraham, poboiko, astippich.
Herald added projects: Frameworks, Baloo.
Herald added a subscriber: kde-frameworks-devel.
bruns requested review of this revision.
REVISION SUMMARY
MDB_RANGE_SET sets the cursor to the first element greater or equal the
key value. This element may be later than endTime and thus should not
be added to the result.
Reorder endTime check and appending the value, so only matching items
are returned. If the result set is empty, directly return.
TEST PLAN
ctest
REPOSITORY
R293 Baloo
REVISION DETAIL
https://phabricator.kde.org/D20316
AFFECTED FILES
autotests/unit/engine/mtimedbtest.cpp
src/engine/mtimedb.cpp
src/engine/mtimedb.h
To: bruns, #baloo, #frameworks, dfaure, ngraham, poboiko, astippich
Cc: kde-frameworks-devel, gennad, domson, ashaposhnikov, michaelh, astippich, spoorun, ngraham, bruns, abrahams
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20190406/7e7b17fd/attachment-0001.html>
More information about the Kde-frameworks-devel
mailing list