# HG changeset patch # User Sylvain Thénault # Date 1250003099 -7200 # Node ID 58c519e5a31fbdc436f4856c67430819c3bbead5 # Parent 07e47b84acc27b4b582f0053e1fd70f076571c10 [debug] cnx commit/rollback on DBG_RQL diff -r 07e47b84acc2 -r 58c519e5a31f server/sources/extlite.py --- 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()