Core/: Fix warnings

--HG--
branch : trunk
This commit is contained in:
Spp
2010-09-28 14:48:17 +02:00
parent 7abe69b570
commit e27976102d
8 changed files with 78 additions and 63 deletions

View File

@@ -22,24 +22,24 @@
#include "Log.h"
ResultSet::ResultSet(MYSQL_RES *result, MYSQL_FIELD *fields, uint64 rowCount, uint32 fieldCount) :
m_result(result),
m_fields(fields),
m_rowCount(rowCount),
m_fieldCount(fieldCount)
m_fieldCount(fieldCount),
m_result(result),
m_fields(fields)
{
m_currentRow = new Field[m_fieldCount];
ASSERT(m_currentRow);
}
PreparedResultSet::PreparedResultSet(MYSQL_STMT* stmt, MYSQL_RES *result, uint64 rowCount, uint32 fieldCount) :
m_rowCount(rowCount),
m_rowPosition(0),
m_fieldCount(fieldCount),
m_rBind(NULL),
m_stmt(stmt),
m_res(result),
m_isNull(NULL),
m_length(NULL),
m_rowCount(rowCount),
m_fieldCount(fieldCount),
m_rowPosition(0)
m_length(NULL)
{
if (!m_res)
return;