From 1c11e6b2c12be0d154d372aaa5afdeb7aee35dda Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Fri, 8 May 2020 14:12:19 -0700 Subject: [PATCH] ircd::db: Minor cleanup. --- ircd/db.cc | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/ircd/db.cc b/ircd/db.cc index 935d683b3..37485ac32 100644 --- a/ircd/db.cc +++ b/ircd/db.cc @@ -8,7 +8,6 @@ // copyright notice and this permission notice is present in all copies. The // full license for this software is available in the LICENSE file. - #include "db.h" /// Dedicated logging facility for the database subsystem @@ -3453,15 +3452,16 @@ noexcept { assert(d && replace && replaced); - if(debug) log::debug - { - log, "[%s] WAL recovery record log:%lu '%s' wb[count:%zu size:%zu]", - db::name(*d), - log_nr, - name, - wb.Count(), - wb.GetDataSize(), - }; + if(debug) + log::debug + { + log, "[%s] WAL recovery record log:%lu '%s' wb[count:%zu size:%zu]", + db::name(*d), + log_nr, + name, + wb.Count(), + wb.GetDataSize(), + }; *replaced = false; return WalProcessingOption::kContinueProcessing;