D20280: Remove document from MTimeDB/DocumentTimeDB even when timestamp is 0

Stefan BrĂ¼ns noreply at phabricator.kde.org
Fri Apr 5 21:24:12 BST 2019


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

REVISION SUMMARY
  Commit 628daced19b8 <https://phabricator.kde.org/R293:628daced19b88d0c537736a14aea3287a4662609> ("allow ctime/mtime == 0") removed the asserts
  checking for 0 (anyway only effective for debug builds), but left
  the code for the timestamp removal unchanged.

TEST PLAN
  $> touch -d '@0' xxx.txt
  $> balooshow 'mtime<1980-01-01'
  
    -> xxx.txt shows up
  
  $> touch xxx.txt
  $> balooshow 'mtime<1980-01-01'
  
    -> xxx.txt no longer shown

REPOSITORY
  R293 Baloo

BRANCH
  fix_timestamp_removal

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

AFFECTED FILES
  src/engine/writetransaction.cpp

To: bruns, #baloo, #frameworks, 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/20190405/eade25ef/attachment.html>


More information about the Kde-frameworks-devel mailing list