Stop nuking MySQLRequestResult Success flag

This commit is contained in:
Michael Cook (mackal) 2014-09-18 14:59:50 -04:00
parent 347ae1bc34
commit 3d6bb964df

View File

@ -22,10 +22,10 @@ MySQLRequestResult::MySQLRequestResult(MYSQL_RES* result, uint32 rowsAffected, u
m_ColumnLengths = nullptr; m_ColumnLengths = nullptr;
m_Fields = nullptr; m_Fields = nullptr;
m_Success = true;
if (errorBuffer != nullptr) if (errorBuffer != nullptr)
m_Success = false; m_Success = false;
m_Success = true;
m_ErrorNumber = errorNumber; m_ErrorNumber = errorNumber;
m_ErrorBuffer = errorBuffer; m_ErrorBuffer = errorBuffer;
} }