Diffusion Baloo eb68430ae5f4

Baloo engine: treat every non-success code as a failure

Authored by valeriymalov on Mar 10 2019, 5:19 PM.

Description

Baloo engine: treat every non-success code as a failure

Summary:
Treating only MDB_NOTFOUND as an error leads to use of uninitliazed
pointers and handle IDs in other cases (e.g. when get fails with
MDB_BAD_TXN) and wreaks havoc in the application.

CCBUG: 361186
CCBUG: 390823
CCBUG: 372880
CCBUG: 395888
CCBUG: 367480
CCBUG: 403720

Reviewers: Baloo, bruns, poboiko

Reviewed By: Baloo, bruns

Subscribers: cullmann, ngraham, bruns, kde-frameworks-devel, Baloo

Tags: Frameworks, Baloo

Differential Revision: https://phabricator.kde.org/D18664

Details

Committed
valeriymalovMar 13 2019, 9:50 PM
Reviewer
Baloo
Differential Revision
D18664: Baloo engine: treat every non-success code as a failure
Parents
R293:f2d14fff7667: GIT_SILENT Upgrade KF5 version to 5.57.0.
Branches
Unknown
Tags
Unknown