[FIX] Fix minor DB fuckup with tools

Used to open a flatfile database whenever it couldn't find an LMDB one,
which obviously caused *problems*
This commit is contained in:
lda 2025-02-08 08:45:21 +00:00
commit 1936be0078
2 changed files with 20 additions and 21 deletions

View file

@ -108,7 +108,7 @@ GetDB(char *config)
{
ret = DbOpenLMDB(db_path, lmdb_size);
}
if (!ret)
else
{
ret = DbOpen(db_path, 0);
}