diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2015-11-21 16:36:50 -0500 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2015-11-21 16:36:50 -0500 |
commit | 60c36ca8418cec180733a4d97637699fa2d3c36e (patch) | |
tree | b8d5c95b22bfb041ce6ac43f57cd1d21993946bd /test/dialect/postgresql/test_compiler.py | |
parent | 068d37035a5d0004dc93712f4fa88703aefa4076 (diff) | |
download | sqlalchemy-60c36ca8418cec180733a4d97637699fa2d3c36e.tar.gz |
- Fixed joinedload bug which would occur when a. the query includes
limit/offset criteria that forces a subquery b. the relationship
uses "secondary" c. the primaryjoin of the relationship refers to
a column that is either not part of the primary key, or is a PK
col in a joined-inheritance subclass table that is under a different
attribute name than the parent table's primary key column d. the
query defers the columns that are present in the primaryjoin, typically
via not being included in load_only(); the necessary column(s) would
not be present in the subquery and produce invalid SQL.
fixes #3592
Diffstat (limited to 'test/dialect/postgresql/test_compiler.py')
0 files changed, 0 insertions, 0 deletions