]> 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:23 +0000 (12:16 -0400)
commit9d5e117f6fcc38d8773bc943c615888dc8a3a819
treec81ed463fb3860e6e83eb765cda56f321153030c
parent5abeee69e34d45796cdff0770f58f9104da74701
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
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