aboutsummaryrefslogtreecommitdiff
path: root/src/server/shared/Database/QueryResult.h
diff options
context:
space:
mode:
authorMachiavelli <none@none>2010-09-11 22:20:57 +0200
committerMachiavelli <none@none>2010-09-11 22:20:57 +0200
commitd1174be1fdc611b93691c83fd382acd647d6931c (patch)
treeb399f77132494ac64137e302b42913d0b33c77c7 /src/server/shared/Database/QueryResult.h
parentd714d0eb20767ec6acbe48aafcbb008aafd35a0e (diff)
Core/DBLayer: Fix gcc warnings related to changes added to QueryResult.h/cpp recently
--HG-- branch : trunk
Diffstat (limited to 'src/server/shared/Database/QueryResult.h')
-rwxr-xr-xsrc/server/shared/Database/QueryResult.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/server/shared/Database/QueryResult.h b/src/server/shared/Database/QueryResult.h
index 6dca51fddc1..846297f14a6 100755
--- a/src/server/shared/Database/QueryResult.h
+++ b/src/server/shared/Database/QueryResult.h
@@ -101,7 +101,8 @@ class ResultBind
friend class PreparedResultSet;
public:
- ResultBind(MYSQL_STMT* stmt) : m_stmt(stmt), m_fieldCount(NULL), m_isNull(NULL), m_length(NULL), m_rBind(NULL) {}
+ ResultBind(MYSQL_STMT* stmt) : m_rBind(NULL), m_stmt(stmt), m_isNull(NULL), m_length(NULL), m_fieldCount(0) {}
+
~ResultBind()
{
if (!m_fieldCount)