mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-19 00:48:56 +01:00
Core/DBLayer: Add an assert to detetct calls to invalid prepared statements.
--HG-- branch : trunk
This commit is contained in:
@@ -310,6 +310,7 @@ void MySQLConnection::CommitTransaction()
|
||||
|
||||
MySQLPreparedStatement* MySQLConnection::GetPreparedStatement(uint32 index)
|
||||
{
|
||||
ASSERT(index < m_stmts.size());
|
||||
return m_stmts[index];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user