diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2018-06-18 17:12:56 +0300 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2018-06-25 18:35:41 -0400 |
commit | e2913f65c4e5720394105584c69e7b9e8c2d373c (patch) | |
tree | c2de43a28f49f43031176153e34d76319c734949 /lib/sqlalchemy/dialects/mysql/pymysql.py | |
parent | c99345ee9994c3ea2a5e6536cc3365f18d017cc1 (diff) | |
download | sqlalchemy-e2913f65c4e5720394105584c69e7b9e8c2d373c.tar.gz |
Fix UnboundLocalError in mssql during isolation level grab
Fixed issue within the SQL Server dialect under Python 3 where when running
against a non-standard SQL server database that does not contain either the
"sys.dm_exec_sessions" or "sys.dm_pdw_nodes_exec_sessions" views, leading
to a failure to fetch the isolation level, the error raise would fail due
to an UnboundLocalError.
Fixes: #4273
Co-authored-by: wikiped <wikiped@yandex.ru>
Change-Id: I39877c1f65f9cf8602fb1dceaf03072357759564
Diffstat (limited to 'lib/sqlalchemy/dialects/mysql/pymysql.py')
0 files changed, 0 insertions, 0 deletions