mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-18 00:18:43 +01:00
Core/PreparedStatements: Fixed a Coverity warning
This commit is contained in:
@@ -446,7 +446,7 @@ std::string MySQLPreparedStatement::getQueryString(std::string const& sqlPattern
|
||||
|
||||
//- Execution
|
||||
PreparedStatementTask::PreparedStatementTask(PreparedStatement* stmt, bool async) :
|
||||
m_stmt(stmt)
|
||||
m_stmt(stmt), m_result(nullptr)
|
||||
{
|
||||
m_has_result = async; // If it's async, then there's a result
|
||||
if (async)
|
||||
|
||||
Reference in New Issue
Block a user