]> 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:29:18 +0000 (09:29 -0400)
commit966b86f86460eacf4a227ba5727ab434cdef040a
tree2c3c6f3340dc362d7506da1c21ef8d520a5f5700
parent25f9306aea24f3a23b931401e81d17153edd612a
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
(cherry picked from commit 645977088404da0ed6d72ae7638a7d23dcf1e8e7)
doc/build/changelog/unreleased_14/8475.rst [new file with mode: 0644]
lib/sqlalchemy/dialects/mssql/base.py
test/dialect/mssql/test_engine.py