Core: Fix some warnings
--HG-- branch : trunk
This commit is contained in:
1 parent
588092960b
commit
cdef980af4
10 files changed
+21
-22
No files matched your search
@@ -21,8 +21,8 @@
|
||||
#include "Log.h"
|
||||
|
||||
PreparedStatement::PreparedStatement(uint32 index) :
|
||||
m_index(index),
|
||||
m_stmt(NULL)
|
||||
m_stmt(NULL),
|
||||
m_index(index)
|
||||
{
|
||||
}
|
||||
|
||||
@@ -183,7 +183,7 @@ m_bind(NULL)
|
||||
memset(m_bind, 0, sizeof(MYSQL_BIND)*m_paramCount);
|
||||
|
||||
/// "If set to 1, causes mysql_stmt_store_result() to update the metadata MYSQL_FIELD->max_length value."
|
||||
my_bool bool_tmp = 1;
|
||||
my_bool bool_tmp = 1;
|
||||
mysql_stmt_attr_set(stmt, STMT_ATTR_UPDATE_MAX_LENGTH, &bool_tmp);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user