Skip to content

Commit

Permalink
chore(Core/DBPool): fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Winfidonarleyan committed Sep 23, 2023
1 parent a417ba1 commit df36562
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/server/database/Database/DatabaseWorkerPool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down Expand Up @@ -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;
}

Expand Down

0 comments on commit df36562

Please sign in to comment.