summaryrefslogtreecommitdiff
path: root/base/mysql.hh
diff options
context:
space:
mode:
authorAli Saidi <saidi@eecs.umich.edu>2005-09-12 03:01:57 -0400
committerAli Saidi <saidi@eecs.umich.edu>2005-09-12 03:01:57 -0400
commit94bf249af43f5f6fea1bbfd2c68d19de3685d93a (patch)
tree0790561d7f87ffb5420bb20fb84e99244d47afd2 /base/mysql.hh
parent11cb904ad7c617e6653ce1ca52a92f10efe53025 (diff)
parentc62760e3cbe912e17c25e9fc0bd0810a79d676bb (diff)
downloadgem5-94bf249af43f5f6fea1bbfd2c68d19de3685d93a.tar.xz
Merge zizzer:/bk/m5
into zeep.eecs.umich.edu:/z/saidi/work/m5 --HG-- extra : convert_revision : 3eff9b41fbf30ae0365adf05a71625c92ce1a4c0
Diffstat (limited to 'base/mysql.hh')
-rw-r--r--base/mysql.hh3
1 files changed, 3 insertions, 0 deletions
diff --git a/base/mysql.hh b/base/mysql.hh
index 2278d42e7..ae28a9dfb 100644
--- a/base/mysql.hh
+++ b/base/mysql.hh
@@ -33,6 +33,7 @@
#include <cassert>
#include <iosfwd>
+#include <mysql_version.h>
#include <mysql.h>
#include <string>
#include <sstream>
@@ -89,6 +90,8 @@ class Result
{
if (result)
refcount = new int(1);
+ else
+ refcount = NULL;
}
Result(const Result &result)