allow path= to be omitted in memdb config

This commit is contained in:
Richard Holland
2024-10-23 13:59:48 +11:00
parent 2bc5a8b1e8
commit 80efd28eba

View File

@@ -95,7 +95,7 @@ public:
{
boost::ignore_unused(journal_); // Keep unused journal_ just in case.
if (name_.empty())
Throw<std::runtime_error>("Missing path in Memory backend");
name_ = "node_db";
}
~MemoryBackend() override