]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
raise on lower-case column shared to multiple tables
authorMike Bayer <mike_mp@zzzcomputing.com>
Wed, 30 Sep 2020 12:37:57 +0000 (08:37 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 30 Sep 2020 13:37:36 +0000 (09:37 -0400)
commitf714a03dd98ff55fb751dab8240d9cc08d584495
treec3bed267d0ff01bdb204fdbf4954496e3153eda8
parent74418a87cc9eae188b52d885d1138c632e62fba4
raise on lower-case column shared to multiple tables

Fixed bug where an error was not raised for lower-case
:func:`_column` added to lower-case :func:`_table` object. This now raises
:class:`_exc.ArgumentError` which has always been the case for
upper-case :class:`_schema.Column` and :class:`_schema.Table`.

Fixes: #5618
Change-Id: Ifcbdf27c022fd2996a5b99559df71fc1c1e0f19c
(cherry picked from commit ba0febcf54f194fc93d40a6bf72502ee50ba9993)
doc/build/changelog/unreleased_13/5618.rst [new file with mode: 0644]
lib/sqlalchemy/sql/selectable.py
test/sql/test_metadata.py