summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/engine/base.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2012-11-20 11:01:58 -0500
committerMike Bayer <mike_mp@zzzcomputing.com>2012-11-20 11:01:58 -0500
commit2799a674038bef5a81102935ae43c70163f0c556 (patch)
tree6f7dbfc5a7c4f4fe65ab3aabaeb410ced1ebaec3 /lib/sqlalchemy/engine/base.py
parent7bd1dbc4cf009c92f943a9f5313f99e8db604c41 (diff)
downloadsqlalchemy-2799a674038bef5a81102935ae43c70163f0c556.tar.gz
should be logging this
Diffstat (limited to 'lib/sqlalchemy/engine/base.py')
-rw-r--r--lib/sqlalchemy/engine/base.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/sqlalchemy/engine/base.py b/lib/sqlalchemy/engine/base.py
index 15bfe03cb..800742a11 100644
--- a/lib/sqlalchemy/engine/base.py
+++ b/lib/sqlalchemy/engine/base.py
@@ -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)