From 71443bc4d32a0017def78cab6d8f9039d98f0ce3 Mon Sep 17 00:00:00 2001 From: WolverinDEV Date: Fri, 26 Feb 2021 21:32:56 +0100 Subject: [PATCH] Introduced the new group manager --- src/sql/SqlQuery.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sql/SqlQuery.h b/src/sql/SqlQuery.h index 53c82bf..2d62da1 100644 --- a/src/sql/SqlQuery.h +++ b/src/sql/SqlQuery.h @@ -14,7 +14,7 @@ #include "../Variable.h" #define ALLOW_STACK_ALLOCATION -#define LOG_SQL_CMD [](const sql::result &res){ if(!res) logCritical(LOG_GENERAL, "Failed to execute sql command: " + std::to_string(res.code()) + "/" + res.msg() + " (" __FILE__ + ":" + to_string(__LINE__) + ")"); } +#define LOG_SQL_CMD [](const sql::result &res){ if(!res) logCritical(LOG_GENERAL, "Failed to execute sql command: " + std::to_string(res.code()) + "/" + res.msg() + " (" __FILE__ + ":" + std::to_string(__LINE__) + ")"); } namespace sql { class result; class SqlManager;