diff options
Diffstat (limited to 'src/server/shared/Database/MySQLConnection.cpp')
-rw-r--r-- | src/server/shared/Database/MySQLConnection.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/server/shared/Database/MySQLConnection.cpp b/src/server/shared/Database/MySQLConnection.cpp index 3eb8cb3d032..64b2cea5d4b 100644 --- a/src/server/shared/Database/MySQLConnection.cpp +++ b/src/server/shared/Database/MySQLConnection.cpp @@ -310,6 +310,7 @@ void MySQLConnection::CommitTransaction() MySQLPreparedStatement* MySQLConnection::GetPreparedStatement(uint32 index) { + ASSERT(index < m_stmts.size()); return m_stmts[index]; } |