]> 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 18:03:08 +0000 (14:03 -0400)
commit4ccf8b72147496a033ef0c517bcf7345c516b3e8
tree174b710e10adf37925089b5d9f2efe1c772c8392
parent4679251d195889b420c5f8709995cfc97b6d25d7
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
(cherry picked from commit 56366924673f88e51c74d94058c11132a057ecfa)
doc/build/changelog/unreleased_14/7853.rst [new file with mode: 0644]
lib/sqlalchemy/engine/base.py
test/engine/test_logging.py