diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2020-12-08 22:07:48 -0500 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2020-12-09 11:20:26 -0500 |
commit | 7528c2465b3e56ed094f155bff2a3ab8c89cc84f (patch) | |
tree | f6272e47d90df26e663b0f753b01e1d5f0157e5a /lib/sqlalchemy/sql/base.py | |
parent | c736eef8b35841af89ec19469aa496585efd3865 (diff) | |
download | sqlalchemy-7528c2465b3e56ed094f155bff2a3ab8c89cc84f.tar.gz |
Implement Oracle SERIALIZABLE + real read of isolation level
There's some significant awkwardness in that we can't
read the level unless a transaction is started, which normally
does not occur unless DML is emitted. The implementation
uses the local_transaction_id function to start a transaction.
It is not known what the performance impact of this might
have, however by default the function is called only once
on first connect and later only if the get_isolation_level()
method is used.
Fixes: #5755
Change-Id: I0453a6b0a49420826707f660931002ba2338fbf0
Diffstat (limited to 'lib/sqlalchemy/sql/base.py')
0 files changed, 0 insertions, 0 deletions