]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Accommodate escaped_bind_names for defaults/insert params
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 8 Feb 2022 15:12:33 +0000 (10:12 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 8 Feb 2022 15:12:33 +0000 (10:12 -0500)
commitc2aa6374f3965c28aa2d56cbddf6dab3e1de18a2
tree06e74da251a00d34ba79326266326a9f8928eb52
parent15e37d5e540439439009cc2ea0f9421114c21909
Accommodate escaped_bind_names for defaults/insert params

Fixed issue in Oracle dialect where using a column name that requires
quoting when written as a bound parameter, such as ``"_id"``, would not
correctly track a Python generated default value due to the bound-parameter
rewriting missing this value, causing an Oracle error to be raised.

Fixes: #7676
Change-Id: I5a54426d24f2f9b336e3597d5595fb3e031aad97
doc/build/changelog/unreleased_14/7676.rst [new file with mode: 0644]
lib/sqlalchemy/engine/default.py
lib/sqlalchemy/sql/compiler.py
test/dialect/oracle/test_dialect.py