diff options
| author | P. Christeas <p_christ@hol.gr> | 2009-07-26 10:55:04 +0300 |
|---|---|---|
| committer | P. Christeas <p_christ@hol.gr> | 2009-07-26 10:55:04 +0300 |
| commit | 400ee151f82819230671f842544e6e7a2b21dd80 (patch) | |
| tree | 8eb2bfdb94e277818c85d88fcdb07e30c26d54b8 /bin/sql_db.py | |
| parent | fdb3ee7772830d8e1bfde4dfba66a6a729bf28dd (diff) | |
Mark some points where SQL calls need optimize.
In particular, calls to ir.translate are done in Python loops. This is
slow.
bzr revid: p_christ@hol.gr-20090726075504-v6qgdyyg9vyaazfr
Diffstat (limited to 'bin/sql_db.py')
| -rw-r--r-- | bin/sql_db.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/sql_db.py b/bin/sql_db.py index edf9a2aeaec..d7769945a84 100644 --- a/bin/sql_db.py +++ b/bin/sql_db.py @@ -158,7 +158,7 @@ class Cursor(object): log("table: %s: %s/%s" %(r[0], str(r[1][1]), r[1][0])) sum+= r[1][1] sqllogs[type].clear() - log("SUM:%s/%d [%d]" % (sum, self.count,sql_counter)) + log("SUM %s:%s/%d [%d]" % (type, sum, self.count,sql_counter)) process('from') process('into') self.count = 0 |
