]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Correct join for FKs with schema in SQL Server
authorMike Bayer <mike_mp@zzzcomputing.com>
Wed, 11 Apr 2018 13:29:00 +0000 (09:29 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 11 Apr 2018 16:16:58 +0000 (12:16 -0400)
commit92310c1fd45fc492a853a723dd09e7f00d2f582f
tree652ebadb8a99cf5840a57066fa6670cf685d3a57
parent7f9310f19ecf7290ba79633358809e8aca5abda3
Correct join for FKs with schema in SQL Server

Fixed 1.2 regression caused by :ticket:`4060` where the query used to
reflect SQL Server cross-schema foreign keys was limiting the criteria
incorrectly.

Additionally, added some rework of the inter-schema reflection tests
so that MySQL, MSSQL can be included, breaking out some of the
Postgresql-specific behaviors into separate requirements.

Fixes: #4234
Change-Id: I20c8e70707075f1767b79127c2c27d4b313c6515
(cherry picked from commit 9d5e117f6fcc38d8773bc943c615888dc8a3a819)
doc/build/changelog/unreleased_12/4234.rst [new file with mode: 0644]
lib/sqlalchemy/dialects/mssql/base.py
lib/sqlalchemy/testing/suite/test_reflection.py
test/engine/test_reflection.py
test/requirements.py