]> 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:21:22 +0000 (12:21 -0500)
commit6125dfff91ca0093a00d78804917240617825c44
tree928cd035b4b000b41eac72aa300957cec56626bf
parent2759eefbf32862be464ecd5b1e91163c7773df39
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
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