]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Fix Azure Synapse connection error
authorGord Thompson <gord@gordthompson.com>
Thu, 1 Sep 2022 17:10:20 +0000 (11:10 -0600)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 2 Sep 2022 13:25:45 +0000 (09:25 -0400)
commit645977088404da0ed6d72ae7638a7d23dcf1e8e7
treefb5f5b3253ee1472ab94b76131bdf136520c2a0b
parentd3e0b8e750d864766148cdf1a658a601079eed46
Fix Azure Synapse connection error

Fixed regression caused by the fix for :ticket:`8231` released in 1.4.40
where connection would fail if the user does not have permission to query
the dm_exec_sessions or dm_pdw_nodes_exec_sessions system view when trying
to determine the current transaction isolation level.

Fixes: #8475
Change-Id: Ie2bcda92f2ef2d12360ddda47eb6e896313c71f2
doc/build/changelog/unreleased_14/8475.rst [new file with mode: 0644]
lib/sqlalchemy/dialects/mssql/base.py
test/dialect/mssql/test_engine.py