summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/sql/compiler.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2020-12-18 09:28:06 -0500
committerMike Bayer <mike_mp@zzzcomputing.com>2020-12-18 10:48:30 -0500
commit566f1b520e05659ba4d4928c740a9aa1b0fed614 (patch)
tree9b87db804c34627badb6a58f416cfe92e18cea54 /lib/sqlalchemy/sql/compiler.py
parent35b04a5508e06a99941cf6eca7de545554c9d6ca (diff)
downloadsqlalchemy-566f1b520e05659ba4d4928c740a9aa1b0fed614.tar.gz
Gracefully degrade on v$transaction not readable
Fixed regression which occured due to [ticket:5755] which implemented isolation level support for Oracle. It has been reported that many Oracle accounts don't actually have permission to query the ``v$transaction`` view so this feature has been altered to gracefully fallback when it fails upon database connect, where the dialect will assume "READ COMMITTED" is the default isolation level as was the case prior to SQLAlchemy 1.3.21. However, explicit use of the :meth:`_engine.Connection.get_isolation_level` method must now necessarily raise an exception, as Oracle databases with this restriction explicitly disallow the user from reading the current isolation level. Fixes: #5784 Change-Id: Iefc82928744f3c944c18ae8000eb3c9e52e523bc
Diffstat (limited to 'lib/sqlalchemy/sql/compiler.py')
0 files changed, 0 insertions, 0 deletions