]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
catch exception for system_views also
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 15 Sep 2022 12:42:34 +0000 (08:42 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 15 Sep 2022 12:44:24 +0000 (08:44 -0400)
commit8f1d47df752db35009269b7edd6da59805230c3b
tree3441842ab8f2e8ce316025d806e42c3c30ba732e
parent647aafc875641d4d2e1ad2953affb0eec52e71dc
catch exception for system_views also

Fixed yet another regression in SQL Server isolation level fetch (see
:ticket:`8231`, :ticket:`8475`), this time with "Microsoft Dynamics CRM
Database via Azure Active Directory", which apparently lacks the
``system_views`` view entirely. Error catching has been extended that under
no circumstances will this method ever fail, provided database connectivity
is present.

Fixes: #8525
Change-Id: I76a429e3329926069a0367d2e77ca1124b9a059d
(cherry picked from commit 0ee7d693b805c0f1aea0da5ebc11ea6e52b42c71)
doc/build/changelog/unreleased_14/8525.rst [new file with mode: 0644]
lib/sqlalchemy/dialects/mssql/base.py
test/dialect/mssql/test_engine.py