Core/PreparedStatements: Fixed a Coverity warning
This commit is contained in:
1 parent
e223bbab6d
commit
eae97c7bc8
1 file changed
+1
-1
@@ -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