]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
- the logging message emitted by the engine when
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 21 Sep 2010 15:10:07 +0000 (11:10 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 21 Sep 2010 15:10:07 +0000 (11:10 -0400)
a connection is first used is now "BEGIN (implicit)"
to emphasize that DBAPI has no explicit begin().

CHANGES
lib/sqlalchemy/engine/base.py

diff --git a/CHANGES b/CHANGES
index 9d9bc9f01e92b2fe9dfeef2fd8d0d8cbea48ee57..3362efb22ee84a382fb9b56b7a6b78cc6b264140 100644 (file)
--- 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
 =====
index 4d6912ce4b77bd8edb1bfff8061024627edea040..ef402ceea48691380d850fbd9ab778b3e554a013 100644 (file)
@@ -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: