]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
should be logging this
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 20 Nov 2012 16:01:58 +0000 (11:01 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 20 Nov 2012 16:01:58 +0000 (11:01 -0500)
lib/sqlalchemy/engine/base.py

index 15bfe03cb3b605b1dcf2b68b4ecda943ebd7bc89..800742a11ab2c562e762d501e8bc8549c4ba2a63 100644 (file)
@@ -518,6 +518,8 @@ class Connection(Connectable):
         self.__transaction = context
 
     def _begin_twophase_impl(self, xid):
+        if self._echo:
+            self.engine.logger.info("BEGIN TWOPHASE (implicit)")
         if self._has_events:
             self.dispatch.begin_twophase(self, xid)