]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
more autocommit messaging
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 24 Mar 2022 17:58:20 +0000 (13:58 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 24 Mar 2022 17:59:02 +0000 (13:59 -0400)
commit56366924673f88e51c74d94058c11132a057ecfa
tree1d96a3c5f86b77f0879c2f6c3624653919400def
parentc565c470517e1cc70a7f33d1ad3d3256935f1121
more autocommit messaging

Further clarified connection-level logging to indicate the BEGIN, ROLLBACK
and COMMIT log messages do not actually indicate a real transaction when
the AUTOCOMMIT isolation level is in use; messaging has been extended to
include the BEGIN message itself, and the messaging has also been fixed to
accommodate when the :class:`.Engine` level
:paramref:`.create_engine.isolation_level` parameter was used directly.

Fixes: #7853
Change-Id: Iafc78070737ad117f84262e4bde84b81a81e4ea1
doc/build/changelog/unreleased_14/7853.rst [new file with mode: 0644]
lib/sqlalchemy/engine/base.py
lib/sqlalchemy/engine/interfaces.py
test/engine/test_logging.py