[DocumentIdDB] Silence non-error debug message, warn on errors
ClosedPublic

Authored by bruns on Apr 6 2019, 10:12 PM.

Details

Summary

MDB_NOTFOUND is not an error, remove the message. In case any other
error occurs, actually print a warning.

While at it, reserve enough space in the returned vector.

Diff Detail

Repository
R293 Baloo
Branch
kio_search
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 10544
Build 10562: arc lint + arc unit
bruns created this revision.Apr 6 2019, 10:12 PM
Restricted Application added projects: Frameworks, Baloo. · View Herald TranscriptApr 6 2019, 10:12 PM
Restricted Application added a subscriber: kde-frameworks-devel. · View Herald Transcript
bruns requested review of this revision.Apr 6 2019, 10:12 PM
ngraham accepted this revision.Apr 6 2019, 10:59 PM
This revision is now accepted and ready to land.Apr 6 2019, 10:59 PM
This revision was automatically updated to reflect the committed changes.