diff --git a/src/evo/evodb.cpp b/src/evo/evodb.cpp index c53b139e8..5b91c3d2b 100644 --- a/src/evo/evodb.cpp +++ b/src/evo/evodb.cpp @@ -7,7 +7,7 @@ CEvoDB* evoDb; CEvoDB::CEvoDB(size_t nCacheSize, bool fMemory, bool fWipe) : - db(GetDataDir() / "evodb", nCacheSize, fMemory, fWipe), + db(fMemory ? "" : (GetDataDir() / "evodb"), nCacheSize, fMemory, fWipe), dbTransaction(db) { }