From df3656281b1219dfbd3c5bc56eba1d46103a12ba Mon Sep 17 00:00:00 2001 From: Winfidonarleyan Date: Sat, 23 Sep 2023 15:33:50 +0700 Subject: [PATCH] chore(Core/DBPool): fix typo --- src/server/database/Database/DatabaseWorkerPool.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/server/database/Database/DatabaseWorkerPool.cpp b/src/server/database/Database/DatabaseWorkerPool.cpp index 415504c03..e3ffd7301 100644 --- a/src/server/database/Database/DatabaseWorkerPool.cpp +++ b/src/server/database/Database/DatabaseWorkerPool.cpp @@ -385,7 +385,7 @@ void DatabaseWorkerPool::PrepareStatement(uint32 index, std::string_view sql, Co auto const& itr = _stringPreparedStatement.find(index); if (itr != _stringPreparedStatement.end()) { - LOG_ERROR("db.pool", "{} DBPool: Trying add exist statement with index ()! Skip", GetPoolName(), index); + LOG_ERROR("db.pool", "{} DBPool: Trying add exist statement with index ({})! Skip", GetPoolName(), index); return; } @@ -502,7 +502,7 @@ void DatabaseWorkerPool::DirectCommitTransaction(SQLTransaction transaction) auto errorCode = connection->ExecuteTransaction(transaction); if (!errorCode) { - connection->Unlock(); // OK, operation succesful + connection->Unlock(); // OK, operation successful return; }