D20330: [MTimeDB] Use exact match when exact match is requested

Stefan BrĂ¼ns noreply at phabricator.kde.org
Sun Apr 7 03:55:37 BST 2019


bruns created this revision.
bruns added reviewers: Baloo, Frameworks, ngraham, astippich, poboiko.
Herald added projects: Frameworks, Baloo.
Herald added a subscriber: kde-frameworks-devel.
bruns requested review of this revision.

REVISION 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

REPOSITORY
  R293 Baloo

BRANCH
  fix_mtimedb

REVISION DETAIL
  https://phabricator.kde.org/D20330

AFFECTED FILES
  autotests/unit/engine/mtimedbtest.cpp
  src/engine/mtimedb.cpp

To: bruns, #baloo, #frameworks, ngraham, astippich, poboiko
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/20190407/be4b82da/attachment-0001.html>


More information about the Kde-frameworks-devel mailing list