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