]> 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:30:57 +0000 (09:30 -0400)
commit33616a85c7c35ec1b1756a43e44a621b744e75fa
treef3309a93aed55d77e29313d6404b9bbd75c52774
parent8f5b65f4316e21d19b00266cdd9eded3d4ec51b2
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
doc/build/changelog/unreleased_13/4778.rst [new file with mode: 0644]
lib/sqlalchemy/sql/schema.py
test/sql/test_constraints.py