]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- Changed the handling in determination of join
authorMike Bayer <mike_mp@zzzcomputing.com>
Sat, 7 May 2011 16:52:25 +0000 (12:52 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sat, 7 May 2011 16:52:25 +0000 (12:52 -0400)
commit4bc2402cc0bc585af1d0e7d59000f73cf20cf452
treebc753ce330385f31c870ad5ecc4230e899967599
parent7adcb1c7443265fc99d05714c964c795f0fe1c13
- Changed the handling in determination of join
conditions such that foreign key errors are
only considered between the two given tables.
That is, t1.join(t2) will report FK errors
that involve 't1' or 't2', but anything
involving 't3' will be skipped.   This affects
join(), as well as ORM relationship and
inherit condition logic.  Will keep the more conservative
approach to [ticket:2153] in 0.6.
CHANGES
lib/sqlalchemy/exc.py
lib/sqlalchemy/orm/mapper.py
lib/sqlalchemy/schema.py
lib/sqlalchemy/sql/util.py
test/orm/inheritance/test_basic.py
test/orm/test_relationships.py
test/sql/test_selectable.py