]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Handle non-string, non column expression in index for deferred attach
authorMike Bayer <mike_mp@zzzcomputing.com>
Sat, 2 May 2020 00:30:18 +0000 (20:30 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sat, 2 May 2020 00:58:42 +0000 (20:58 -0400)
commit45a334e38c1baab34d3195c899cb9ca617fb52a7
treed5ba7127d5c06c777eb30836fcf4f343c65e71ba
parentea87d39d7a9926dc1c6bf3d70e8faf8575769cb0
Handle non-string, non column expression in index for deferred attach

Fixed issue where an :class:`.Index` that is deferred in being associated
with a table, such as as when it contains a :class:`.Column` that is not
associated with any :class:`.Table` yet,  would fail to attach correctly if
it also contained a non table-oriented expession.

Fixes: #5298
Change-Id: I0111c400f6bd4a9f31bf00a9957816c7a3fac783
doc/build/changelog/unreleased_13/5298.rst [new file with mode: 0644]
lib/sqlalchemy/sql/schema.py
test/sql/test_metadata.py