--- a/server/sources/extlite.py Tue Aug 11 17:04:22 2009 +0200
+++ b/server/sources/extlite.py Tue Aug 11 17:04:59 2009 +0200
@@ -36,13 +36,13 @@
def commit(self):
if self._cnx is not None:
- if server.DEBUG & server.DBG_SQL:
+ if server.DEBUG & (server.DBG_SQL | server.DBG_RQL):
print 'sql cnx COMMIT', self._cnx
self._cnx.commit()
def rollback(self):
if self._cnx is not None:
- if server.DEBUG & server.DBG_SQL:
+ if server.DEBUG & (server.DBG_SQL | server.DBG_RQL):
print 'sql cnx ROLLBACK', self._cnx
self._cnx.rollback()