]> 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>
Mon, 17 Sep 2018 20:43:28 +0000 (16:43 -0400)
commit67a2cd92295bef55d914a5c560b4cead5d456837
tree11d5f7ff5f6b251d81b82dba4b6884cda9a9966d
parentc94d67892e68ac317d72eb202cca427084b3ca74
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
doc/build/changelog/unreleased_12/4335.rst [new file with mode: 0644]
lib/sqlalchemy/dialects/oracle/cx_oracle.py
tox.ini