output DB version in info command

This commit is contained in:
Doug Hoyte
2023-02-07 08:19:13 -05:00
parent 376d7cbf1f
commit 67d11ced30
3 changed files with 16 additions and 1 deletions

View File

@ -5,7 +5,8 @@
#include "golpe.h"
const size_t CURR_DB_VERSION = 1;
#include "constants.h"
static void dbCheck(lmdb::txn &txn, const std::string &cmd) {
auto dbTooOld = [&](uint64_t ver) {