From 958a6d939ec7b02d0457edb6f71772aa9405547e Mon Sep 17 00:00:00 2001 From: Akkadius Date: Fri, 3 Jan 2020 18:10:30 -0600 Subject: [PATCH] Have MySQL log timing display correctly --- common/dbcore.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/dbcore.cpp b/common/dbcore.cpp index 2c46f298a..46c7fbe12 100644 --- a/common/dbcore.cpp +++ b/common/dbcore.cpp @@ -146,7 +146,7 @@ MySQLRequestResult DBcore::QueryDatabase(const char *query, uint32 querylen, boo LogF( Logs::General, Logs::MySQLQuery, - "{0} ({1} row{2} returned) ({3}ms)", + "{0} ({1} row{2} returned) ({3}s)", query, requestResult.RowCount(), requestResult.RowCount() == 1 ? "" : "s", @@ -157,7 +157,7 @@ MySQLRequestResult DBcore::QueryDatabase(const char *query, uint32 querylen, boo LogF( Logs::General, Logs::MySQLQuery, - "{0} ({1} row{2} affected) ({3}ms)", + "{0} ({1} row{2} affected) ({3}s)", query, requestResult.RowsAffected(), requestResult.RowsAffected() == 1 ? "" : "s",