]> git.ipfire.org Git - thirdparty/sqlalchemy/alembic.git/commit
retrieve 1.3 transaction from branched connection properly
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 19 Jan 2021 19:26:46 +0000 (14:26 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 19 Jan 2021 19:27:26 +0000 (14:27 -0500)
commitf902d0c7d9975bacd5ccf5caebc69d2bda66dfc8
treea6bba25402e191b310daffa433adb20d99674ac3
parent128582d661d36275e370421622b3cf56b3f8fdbf
retrieve 1.3 transaction from branched connection properly

Fixed regression where Alembic would fail to create a transaction properly
if the :class:`sqlalchemy.engine.Connection` were a so-called "branched"
connection, that is, one where the ``.connect()`` method had been called to
create a "sub" connection.

Change-Id: I5319838a08686ede7dc873ce5d39428b1afdf6ff
Fixes: #782
alembic/util/sqla_compat.py
docs/build/unreleased/782.rst [new file with mode: 0644]
tests/test_script_consumption.py