D28396: [MTimeDB] Consolidate time interval handling code

Stefan BrĂ¼ns noreply at phabricator.kde.org
Sun Mar 29 05:18:01 BST 2020


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

REVISION SUMMARY
  There are two places where half-bounded time intervals with [<=,<,==,>,>=]
  are handled, once in the SearchStore, and once in the MtimeDB itself
  (where the latter only has [<=,==,>=]).
  
  Remove the handling from the MtimeDB and only keep the one in the
  SearchStore.

TEST PLAN
  ctest -V -R mtimedbtest

REPOSITORY
  R293 Baloo

BRANCH
  submit

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

AFFECTED FILES
  autotests/unit/engine/mtimedbtest.cpp
  src/engine/mtimedb.cpp
  src/engine/mtimedb.h
  src/engine/transaction.cpp
  src/engine/transaction.h
  src/lib/searchstore.cpp
  src/lib/searchstore.h

To: bruns, #baloo, ngraham
Cc: kde-frameworks-devel, hurikhan77, lots0logs, LeGast00n, cblack, fbampaloukas, GB_2, 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/20200329/06798e39/attachment.html>


More information about the Kde-frameworks-devel mailing list