Core/DBLayer: Added compile time validation for prepared statement indexes passed to DatabaseWorkerPool::GetPreparedStatement turning mistakes like the one fixed in 0327927fa6 into compiler errors.

This commit is contained in:
Shauren
2015-08-27 00:54:49 +02:00
parent 0327927fa6
commit 7c75160f59
9 changed files with 73 additions and 61 deletions

View File

@@ -123,6 +123,8 @@ m_length(NULL)
if (fetched_length < buffer_length)
*((char*)buffer + fetched_length) = '\0';
break;
default:
break;
}
m_rows[uint32(m_rowPosition) * m_fieldCount + fIndex].SetByteValue(