Page MenuHomePhabricator

refactor: Add BerkeleyDatabaseVersion() function
ClosedPublic

Authored by PiRK on Sep 28 2021, 15:57.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABC85aad1446581: refactor: Add BerkeleyDatabaseVersion() function
Summary

This is a backport of core#16710 [1/2]
https://github.com/bitcoin/bitcoin/pull/16710/commits/de5e91c3034f320f84ee0308a3c31659635d136a

This is backported out of order. In the original PR, it should have touched db.{h|c}, but the code was moved to bdb.{h|c} in D8615. The original PR includes only db.h in rpcconsole.cpp, and bdb.h should have been added additionaly in D8615 (both includes will be needed for subsequent backports (e.g. core#20202).

Test Plan

ninja all check-all

Diff Detail

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

Event Timeline

PiRK edited the summary of this revision. (Show Details)

remove the #pragma change that belongs to the next commit, and explain in description why both db.h and bdb.h must be included in this change

PiRK published this revision for review.Sep 29 2021, 08:03

This can be reviewed and landed independently of D10210.

This revision is now accepted and ready to land.Sep 29 2021, 08:09