Also allow "0" and "no" as false for inmemory_metadata and inmemory_journal
This commit is contained in:
@@ -147,7 +147,7 @@ int disk_tool_t::prepare_one(std::map<std::string, std::string> options, int is_
|
||||
for (int i = 0; i < sizeof(allow_additional_params)/sizeof(allow_additional_params[0]); i++)
|
||||
{
|
||||
auto it = options.find(allow_additional_params[i]);
|
||||
if (it != options.end())
|
||||
if (it != options.end() && it->second != "")
|
||||
{
|
||||
sb[it->first] = it->second;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user