]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Don't discard leftovers from surface_selectables
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 26 Nov 2020 17:10:25 +0000 (12:10 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 26 Nov 2020 17:23:25 +0000 (12:23 -0500)
commite1a2610e805a178c4d1ab7505425df20d51b4202
treef674e96faf2541b16d63b667c615e9f29f6e7f06
parent89553a6c290f3bf46c837299a6eee487846aaf57
Don't discard leftovers from surface_selectables

Fixed regression introduced in 1.3.2 for the PostgreSQL dialect, also
copied out to the MySQL dialect's feature in 1.3.18, where usage of a non
:class:`_schema.Table` construct such as :func:`_sql.text` as the argument
to :paramref:`_sql.Select.with_for_update.of` would fail to be accommodated
correctly within the PostgreSQL or MySQL compilers.

Fixes: #5729
Change-Id: I265bcc171f0eb865ac3910ee805b162f3b70e2c1
(cherry picked from commit 6125dfff91ca0093a00d78804917240617825c44)
doc/build/changelog/unreleased_13/5729.rst [new file with mode: 0644]
lib/sqlalchemy/sql/util.py
test/dialect/mysql/test_for_update.py
test/dialect/oracle/test_compiler.py
test/dialect/postgresql/test_compiler.py