summaryrefslogtreecommitdiff
path: root/bin/sql_db.py
diff options
context:
space:
mode:
authorChristophe Simonis <christophe@tinyerp.com>2008-08-04 17:32:50 +0200
committerChristophe Simonis <christophe@tinyerp.com>2008-08-04 17:32:50 +0200
commit40a8a423b79ac9f2011792ff5d917a5eedec5428 (patch)
tree375853eda3e5c5415ef014f1470b0e0606513f76 /bin/sql_db.py
parentd98d6fe17b8ba9442df23d0ed651e79b2aee53bb (diff)
move domain parsing into expression class
bzr revid: christophe@tinyerp.com-20080804153250-9crz6sq4hf3rm81n
Diffstat (limited to 'bin/sql_db.py')
-rw-r--r--bin/sql_db.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/sql_db.py b/bin/sql_db.py
index 98cd44fb985..9d3f83e9e7b 100644
--- a/bin/sql_db.py
+++ b/bin/sql_db.py
@@ -69,13 +69,13 @@ class fake_cursor:
sql = sql.encode('utf-8')
if self.sql_log:
now = mdt.now()
+ print "SQL LOG query:", sql
+ print "SQL LOG params:", repr(p)
if p:
res = self.obj.execute(sql, p)
else:
res = self.obj.execute(sql)
if self.sql_log:
- print "SQL LOG query:", sql
- print "SQL LOG params:", repr(p)
self.count+=1
res_from = re_from.match(sql.lower())
if res_from: