mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Core/Misc: Fix build
This commit is contained in:
@@ -84,7 +84,7 @@ void PreparedStatement::BindParameters(MySQLPreparedStatement* stmt)
|
||||
++pos;
|
||||
}
|
||||
#ifdef _DEBUG
|
||||
if (i < stmt->m_paramCount)
|
||||
if (pos < stmt->m_paramCount)
|
||||
TC_LOG_WARN("sql.sql", "[WARNING]: BindParameters() for statement %u did not bind all allocated parameters", m_index);
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user