]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Ensure post-__clause_element__() expression are used in Index
authorMike Bayer <mike_mp@zzzcomputing.com>
Sun, 31 Jul 2016 04:10:04 +0000 (00:10 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sun, 31 Jul 2016 04:10:04 +0000 (00:10 -0400)
commit1269b08b1baecc50ed78f5e5facce0a736b125f8
tree3db5d9ad2b5e8a0eb93530f9e9229661c46ac915
parentcda9defe58f80759f2b40e658fd7b25eb4d92610
Ensure post-__clause_element__() expression are used in Index

The change in Index for 1.1 combined with the fix for
ref #3763 still fails to deliver the correct object
resolved by __clause_element__() to the list of expressions
for compilation.   Make sure we use the expression that's
been unwrapped from __clause_element__().

Change-Id: Ie1df8db5090de665048331786f0024d52851923f
Fixes: #3763
lib/sqlalchemy/sql/schema.py
test/sql/test_metadata.py