Page MenuHomePhabricator

walletdb: Ensure that having no database handle is a failure
ClosedPublic

Authored by PiRK on Mon, Sep 6, 14:31.

Details

Summary

Previously having no database handle could still be considered a success
when BerkeleyDatabase and BerkeleyBatch were used for dummy database
things. With dedicated DummyDatabase and DummyBatch classes now, these
should fail.

This is a backport of core#19102 [3/3]
https://github.com/bitcoin/bitcoin/pull/19102/commits/0fcff547d5b47822c13104978fda0c486e596526

Depends on D10049

Test Plan

ninja all check-all

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable