MCPcopy Create free account
hub / github.com/LUX-Core/lux / RemoveDb

Method RemoveDb

src/db.cpp:375–382  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

373}
374
375bool CDBEnv::RemoveDb(const string& strFile)
376{
377 this->CloseDb(strFile);
378
379 LOCK(cs_db);
380 int rc = dbenv->dbremove(NULL, strFile.c_str(), NULL, DB_AUTO_COMMIT);
381 return (rc == 0);
382}
383
384bool CDB::Rewrite(const string& strFile, const char* pszSkip)
385{

Callers

nothing calls this directly

Calls 1

CloseDbMethod · 0.95

Tested by

no test coverage detected