Core/DBLayer: Add an assert to detetct calls to invalid prepared statements.
--HG-- branch : trunk
This commit is contained in:
1 parent
d207f0d9a5
commit
5469af3775
2 files changed
+6
-1
No files matched your search
@@ -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