diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2019-01-18 21:30:21 -0500 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2019-01-19 10:34:47 -0500 |
commit | 5832f7172907a8151345d95061f93784ce4bb9b1 (patch) | |
tree | ef4ae20fe3bf08dbfb837a3104835eceb6ccd5ea /lib/sqlalchemy/engine/interfaces.py | |
parent | 1c56b6049a3fdd1122a4c82ae5757332d3753146 (diff) | |
download | sqlalchemy-5832f7172907a8151345d95061f93784ce4bb9b1.tar.gz |
Don't use cx_Oracle.NATIVE_INT in output type handlers
Fixed regression in integer precision logic due to the refactor of the
cx_Oracle dialect in 1.2. We now no longer apply the cx_Oracle.NATIVE_INT
type to result columns sending integer values (detected as positive
precision with scale ==0) which encounters integer overflow issues with
values that go beyond the 32 bit boundary. Instead, the output variable
is left untyped so that cx_Oracle can choose the best option.
Fixes: #4457
Change-Id: I1e3114c2f37bf028fb1f521a3e9789a77e3a7491
Diffstat (limited to 'lib/sqlalchemy/engine/interfaces.py')
0 files changed, 0 insertions, 0 deletions