| 107 | } |
| 108 | |
| 109 | void BerkeleyEnvironment::Reset() |
| 110 | { |
| 111 | dbenv.reset(new DbEnv(DB_CXX_NO_EXCEPTIONS)); |
| 112 | fDbEnvInit = false; |
| 113 | fMockDb = false; |
| 114 | } |
| 115 | |
| 116 | BerkeleyEnvironment::BerkeleyEnvironment(const fs::path& dir_path) : strPath(fs::PathToString(dir_path)) |
| 117 | { |
no test coverage detected