summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/engine/base.py
diff options
context:
space:
mode:
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)