From 0fdd6698ce1199fe430c055db69c562334a0130f Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Tue, 21 Sep 2010 11:10:07 -0400 Subject: [PATCH] - the logging message emitted by the engine when a connection is first used is now "BEGIN (implicit)" to emphasize that DBAPI has no explicit begin(). --- CHANGES | 4 ++++ lib/sqlalchemy/engine/base.py | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index 9d9bc9f01e..3362efb22e 100644 --- a/CHANGES +++ b/CHANGES @@ -126,6 +126,10 @@ CHANGES been added for result.lastrowid. Note that lastrowid is only supported by Pysqlite and some MySQL drivers, so isn't super-useful in the general case. + + - the logging message emitted by the engine when + a connection is first used is now "BEGIN (implicit)" + to emphasize that DBAPI has no explicit begin(). 0.6.4 ===== diff --git a/lib/sqlalchemy/engine/base.py b/lib/sqlalchemy/engine/base.py index 4d6912ce4b..ef402ceea4 100644 --- a/lib/sqlalchemy/engine/base.py +++ b/lib/sqlalchemy/engine/base.py @@ -1069,7 +1069,7 @@ class Connection(Connectable): def _begin_impl(self): if self._echo: - self.engine.logger.info("BEGIN") + self.engine.logger.info("BEGIN (implicit)") try: self.engine.dialect.do_begin(self.connection) except Exception, e: -- 2.47.2