]> 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:42:34 +0000 (08:42 -0400)
commit0ee7d693b805c0f1aea0da5ebc11ea6e52b42c71
tree5e02dfd91e339c646dad15f182a3e0937ccdcfc6
parent310dd2e6a741c606e5be40ef35cac6ed63e10bfe
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
doc/build/changelog/unreleased_14/8525.rst [new file with mode: 0644]
lib/sqlalchemy/dialects/mssql/base.py
test/dialect/mssql/test_engine.py