diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2007-03-18 21:45:55 +0000 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2007-03-18 21:45:55 +0000 |
commit | 8f788f683ba64e7e0c495454883ca18dd2ae5f11 (patch) | |
tree | 196969caed192332b0951825006fb5637415bd51 /lib/sqlalchemy/databases/mysql.py | |
parent | 1c56142219188636ff57a1e4dbb8ee0d57e3dc88 (diff) | |
download | sqlalchemy-8f788f683ba64e7e0c495454883ca18dd2ae5f11.tar.gz |
- check for tables in the primaryjoin/secondaryjoin that arent parent of parent/child mappers.
dont include those clauses when looking for foreign_keys (which also takes care of remote_side).
if those cols are present in foreign_keys, lazyloader makes binds out of them and tries to
target those columns on the mapper, raising either the "conflicting column" error if they have the same
name, or the "cant find column on mapping" if it has a unique name. added tests for both.
Diffstat (limited to 'lib/sqlalchemy/databases/mysql.py')
0 files changed, 0 insertions, 0 deletions