aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMachiavelli <none@none>2010-09-11 22:27:56 +0200
committerMachiavelli <none@none>2010-09-11 22:27:56 +0200
commit6fa05cfa3e9b417c7cda4f8926a6842c07ea32fd (patch)
tree4f99f9dd35112bcfb58b75027a81c936f002d0f0 /src
parentd1174be1fdc611b93691c83fd382acd647d6931c (diff)
Core/DBLayer: Last of the QueryResult related warnings on linux
--HG-- branch : trunk
Diffstat (limited to 'src')
-rwxr-xr-xsrc/server/shared/Database/QueryResult.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/server/shared/Database/QueryResult.h b/src/server/shared/Database/QueryResult.h
index 846297f14a6..a8fdde894ff 100755
--- a/src/server/shared/Database/QueryResult.h
+++ b/src/server/shared/Database/QueryResult.h
@@ -185,8 +185,10 @@ class PreparedResultSet
{
template<class T> friend class DatabaseWorkerPool;
public:
- PreparedResultSet(MYSQL_STMT* stmt) : num_rows(0), row_position(0)
+ PreparedResultSet(MYSQL_STMT* stmt)
{
+ num_rows = 0;
+ row_position = 0;
rbind = new ResultBind(stmt);
rbind->BindResult(num_rows);
}