From: Mike Bayer Date: Tue, 21 Sep 2010 15:10:07 +0000 (-0400) Subject: - the logging message emitted by the engine when X-Git-Tag: rel_0_6_5~53 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0fdd6698ce1199fe430c055db69c562334a0130f;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git - 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(). --- 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: