diff options
author | Andrew Chow <achow101-github@achow101.com> | 2020-05-13 14:09:26 -0400 |
---|---|---|
committer | Andrew Chow <achow101-github@achow101.com> | 2020-07-22 23:30:19 -0400 |
commit | 4fe4b3bf1b152877677a6115f82aefaf318dd514 (patch) | |
tree | e4694b47079bfbd7df234094d24596d96fe5b536 /src/wallet/bdb.h | |
parent | 65fb8807ac402d1e924fd85969b5837c192bf59f (diff) |
walletdb: track database file use as m_refcount within BerkeleyDatabase
Instead of having BerkeleyEnvironment track the file use count, make
BerkeleyDatabase do it itself.
Diffstat (limited to 'src/wallet/bdb.h')
-rw-r--r-- | src/wallet/bdb.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/wallet/bdb.h b/src/wallet/bdb.h index 3068a75c5d..6c148b37cb 100644 --- a/src/wallet/bdb.h +++ b/src/wallet/bdb.h @@ -52,7 +52,6 @@ private: public: std::unique_ptr<DbEnv> dbenv; - std::map<std::string, int> mapFileUseCount; std::map<std::string, std::reference_wrapper<BerkeleyDatabase>> m_databases; std::unordered_map<std::string, WalletDatabaseFileId> m_fileids; std::condition_variable_any m_db_in_use; |