From 7be03dda170f5d0a09afd09c6e67a69c7a0d3d9c Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Sun, 11 Oct 2020 16:05:55 -0700 Subject: [PATCH] ircd::db: Move conf item into namespace. --- ircd/db.cc | 4 ++-- ircd/db.h | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ircd/db.cc b/ircd/db.cc index 5321be1b5..bcb1a10e1 100644 --- a/ircd/db.cc +++ b/ircd/db.cc @@ -5213,8 +5213,8 @@ ircd::db::make_opts(const gopts &opts) return ret; } -ircd::conf::item -read_checksum +decltype(ircd::db::read_checksum) +ircd::db::read_checksum { { "name", "ircd.db.read.checksum" }, { "default", false } diff --git a/ircd/db.h b/ircd/db.h index a91cb5b5f..e99932d16 100644 --- a/ircd/db.h +++ b/ircd/db.h @@ -72,6 +72,7 @@ namespace ircd::db // state extern log::log rog; extern conf::item enable_wal; + extern conf::item read_checksum; extern conf::item request_pool_size; extern conf::item request_pool_stack_size; extern ctx::pool::opts request_pool_opts;