]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Join key_constraints on schema as well for SQL server get_fks
authorMike Bayer <mike_mp@zzzcomputing.com>
Wed, 30 Aug 2017 16:25:57 +0000 (12:25 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 30 Aug 2017 16:25:57 +0000 (12:25 -0400)
commit43447c4254f0d1a9778911bc2d6b794760d83fa7
treee8014920d07df22c2c038ca7a7976563ff6c010b
parent812c08efb41ff0a8bdafb876fe49079da5074916
Join key_constraints on schema as well for SQL server get_fks

Fixed bug where the SQL Server dialect could pull columns from multiple
schemas when reflecting a self-referential foreign key constraint, if
multiple schemas contained a constraint of the same name against a
table of the same name.

Tests are part of standard suite already (CI has been disabled)

Change-Id: I04ff4a5dea9b82c8e517b3700a28fe994b5550f3
Fixes: #4060
doc/build/changelog/unreleased_12/4060.rst [new file with mode: 0644]
lib/sqlalchemy/dialects/mssql/base.py