summaryrefslogtreecommitdiff
path: root/src/base/stats/mysql.cc
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2007-03-05 11:00:44 +0000
committerGabe Black <gblack@eecs.umich.edu>2007-03-05 11:00:44 +0000
commit6a19b64de2044e5b166a9883be6531166cd69900 (patch)
treee463581d5611ac0a2223a292cc4d1231f3de6b1f /src/base/stats/mysql.cc
parent5498d5298577c07189ff3f7026eba5c1ee09cc1b (diff)
parentba042842c61339e33c0b684f9854e8fe818160fe (diff)
downloadgem5-6a19b64de2044e5b166a9883be6531166cd69900.tar.xz
Merge zizzer.eecs.umich.edu:/bk/newmem
into ahchoo.blinky.homelinux.org:/home/gblack/m5/newmem-x86 --HG-- extra : convert_revision : b585cea2221377eb2fceea8976c46a17c0034f51
Diffstat (limited to 'src/base/stats/mysql.cc')
-rw-r--r--src/base/stats/mysql.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/base/stats/mysql.cc b/src/base/stats/mysql.cc
index d4035986b..39a687fff 100644
--- a/src/base/stats/mysql.cc
+++ b/src/base/stats/mysql.cc
@@ -930,7 +930,7 @@ MySql::visit(const FormulaData &data)
bool
initMySQL(string host, string user, string password, string database,
- string name, string sample, string project)
+ string project, string name, string sample)
{
extern list<Output *> OutputList;
static MySql mysql;
@@ -938,9 +938,6 @@ initMySQL(string host, string user, string password, string database,
if (mysql.connected())
return false;
- if (user.empty())
- user = username();
-
mysql.connect(host, user, password, database, name, sample, project);
OutputList.push_back(&mysql);