summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2015-11-21 16:36:50 -0500
committerMike Bayer <mike_mp@zzzcomputing.com>2015-11-21 16:36:50 -0500
commit60c36ca8418cec180733a4d97637699fa2d3c36e (patch)
treeb8d5c95b22bfb041ce6ac43f57cd1d21993946bd /doc
parent068d37035a5d0004dc93712f4fa88703aefa4076 (diff)
downloadsqlalchemy-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 'doc')
-rw-r--r--doc/build/changelog/changelog_10.rst15
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/build/changelog/changelog_10.rst b/doc/build/changelog/changelog_10.rst
index 40a251a22..7efa3939f 100644
--- a/doc/build/changelog/changelog_10.rst
+++ b/doc/build/changelog/changelog_10.rst
@@ -21,6 +21,21 @@
.. change::
:tags: bug, orm
:versions: 1.1.0b1
+ :tickets: 3592
+
+ 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.
+
+ .. change::
+ :tags: bug, orm
+ :versions: 1.1.0b1
:tickets: 2696
A rare case which occurs when a :meth:`.Session.rollback` fails in the