summaryrefslogtreecommitdiff
path: root/base
diff options
context:
space:
mode:
authorNathan Binkert <binkertn@umich.edu>2004-07-23 16:30:35 -0400
committerNathan Binkert <binkertn@umich.edu>2004-07-23 16:30:35 -0400
commita5b541150c90dce728f8f5c1696545ab6cbea22d (patch)
treec4a0c8417e53680bc7034e60ee8674f8f9a3c538 /base
parente8faa32ca8c76c445060add7c5a57b612d90ba3a (diff)
parent095851dbb22a53e082c2a35c01744ffe94515ad8 (diff)
downloadgem5-a5b541150c90dce728f8f5c1696545ab6cbea22d.tar.xz
Merge zizzer.eecs.umich.edu:/z/m5/Bitkeeper/m5
into ziff.eecs.umich.edu:/z/binkertn/research/m5/current --HG-- extra : convert_revision : 375f5dc9556fa12bd67915b8c348f35f49ca5049
Diffstat (limited to 'base')
-rw-r--r--base/mysql.hh1
-rw-r--r--base/traceflags.py3
2 files changed, 3 insertions, 1 deletions
diff --git a/base/mysql.hh b/base/mysql.hh
index 89bec73d0..23edb878c 100644
--- a/base/mysql.hh
+++ b/base/mysql.hh
@@ -180,6 +180,7 @@ class Connection
bool
query(const std::string &sql)
{
+ DPRINTF(SQL, "Sending SQL query to server:\n%s", sql);
error.clear();
if (mysql_real_query(&mysql, sql.c_str(), sql.size()))
error.set(mysql_error(&mysql));
diff --git a/base/traceflags.py b/base/traceflags.py
index e073f96c1..4be61d7ee 100644
--- a/base/traceflags.py
+++ b/base/traceflags.py
@@ -121,7 +121,8 @@ baseFlags = [
'IdeDisk',
'Tsunami',
'Uart',
- 'Split'
+ 'Split',
+ 'SQL'
]
#