]> 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:59:08 +0000 (20:59 -0400)
commit0b628bc84d185fde14ddbcaa2766ed7d3e93534a
tree5d29dbda1e6b5ccf8d9db69096fce6ccf2f61e0a
parent51a82080d8caa9a446fd4e3dc1156ad2adf9044d
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
(cherry picked from commit 45a334e38c1baab34d3195c899cb9ca617fb52a7)
doc/build/changelog/unreleased_13/5298.rst [new file with mode: 0644]
lib/sqlalchemy/sql/schema.py
test/sql/test_metadata.py