]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Ensure all Index arguments are counted when matching expr/columns
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 23 Jul 2019 22:38:48 +0000 (18:38 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 24 Jul 2019 13:32:18 +0000 (09:32 -0400)
commit44a8488e833675e15966c7e43e02726699e0e9e0
tree597ffd3e635d0928692706c6ed6e651135f3ef9c
parentc4e7feddd757d53dd9783d2002ee1b9daa7f0b3a
Ensure all Index arguments are counted when matching expr/columns

Fixed issue where :class:`.Index` object which contained a mixture of
functional expressions which were not resolvable to a particular column,
in combination with string-based column names, would fail to initialize
its internal state correctly leading to failures during DDL compilation.

Fixes: #4778
Change-Id: I0fa9c627a1fde92ba8b9ed10af167c156012bd5d
(cherry picked from commit 33616a85c7c35ec1b1756a43e44a621b744e75fa)
doc/build/changelog/unreleased_13/4778.rst [new file with mode: 0644]
lib/sqlalchemy/sql/schema.py
test/sql/test_constraints.py