]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Use cx_Oracle dml_ret_array_val
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 17 Sep 2018 18:05:46 +0000 (14:05 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 18 Sep 2018 00:56:31 +0000 (20:56 -0400)
commit538589826f5c1ee2d85aa971030be08d4babaef3
tree7ae0bc471bc2c0b26c84524f05384647e2494cfd
parent3dba88237b8a538571b2638309176c82c5e21fab
Use cx_Oracle dml_ret_array_val

Fixed issue for cx_Oracle 7.0 where the behavior of Oracle param.getvalue()
now returns a list, rather than a single scalar value, breaking
autoincrement logic throughout the Core and ORM. The dml_ret_array_val
compatibility flag is used for cx_Oracle 6.3 and 6.4 to establish compatible
behavior with 7.0 and forward, for cx_Oracle 6.2.1 and prior a version
number check falls back to the old logic.

Fixes: #4335
Change-Id: Ia60f5514803a505898c1ac9252355990c6203dda
(cherry picked from commit 67a2cd92295bef55d914a5c560b4cead5d456837)
doc/build/changelog/unreleased_12/4335.rst [new file with mode: 0644]
lib/sqlalchemy/dialects/oracle/cx_oracle.py
tox.ini