aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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);
}