summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2010-09-21 11:10:07 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2010-09-21 11:10:07 -0400
commit0fdd6698ce1199fe430c055db69c562334a0130f (patch)
tree92bb14e301d594f015565dc9d104a2c65f19aa3d
parentc9125a9efd1beb0f5406568ef05eaeb2b544c00a (diff)
downloadsqlalchemy-0fdd6698ce1199fe430c055db69c562334a0130f.tar.gz
- 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().
-rw-r--r--CHANGES4
-rw-r--r--lib/sqlalchemy/engine/base.py2
2 files changed, 5 insertions, 1 deletions
diff --git a/CHANGES b/CHANGES
index 9d9bc9f01..3362efb22 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 4d6912ce4..ef402ceea 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: