diff options
author | Nathan Binkert <binkertn@umich.edu> | 2005-01-12 13:41:06 -0500 |
---|---|---|
committer | Nathan Binkert <binkertn@umich.edu> | 2005-01-12 13:41:06 -0500 |
commit | ed7926664f25f1b5fb2871956c30868027939e15 (patch) | |
tree | 85da9038f7069cbfae34cd1e1e4c1c79f1166e0b /util | |
parent | 202758eea20c092bb85d1886898c3816f377d288 (diff) | |
download | gem5-ed7926664f25f1b5fb2871956c30868027939e15.tar.xz |
Update for newer MySQLdb
util/stats/db.py:
Update for newer MySQLdb, the result of a blob in a query is an
array.array now, so we need to convert that to a string
--HG--
extra : convert_revision : 32732983d3d7141755085ec4913fdae057edc67f
Diffstat (limited to 'util')
-rw-r--r-- | util/stats/db.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/stats/db.py b/util/stats/db.py index 4cba82446..495cdb5b5 100644 --- a/util/stats/db.py +++ b/util/stats/db.py @@ -171,7 +171,7 @@ class Database(object): self.query('select * from formulas') for id,formula in self.cursor.fetchall(): - self.allFormulas[int(id)] = formula + self.allFormulas[int(id)] = formula.tostring() StatData.db = self self.query('select * from stats') |