]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
Add missing changelog file
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 16 Mar 2021 15:26:52 +0000 (11:26 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 16 Mar 2021 15:26:52 +0000 (11:26 -0400)
This file was missing for #6052

Fixes: #6052
Change-Id: Ic0543e633a9f9dfbae08f1636437c543e2e0cd40

doc/build/changelog/unreleased_14/6052.rst [new file with mode: 0644]

diff --git a/doc/build/changelog/unreleased_14/6052.rst b/doc/build/changelog/unreleased_14/6052.rst
new file mode 100644 (file)
index 0000000..bb56440
--- /dev/null
@@ -0,0 +1,9 @@
+.. change::
+    :tags: bug, orm, regression
+    :tickets: 6052
+
+    Fixed regression where calling upon :meth:`_orm.Query.count` in conjunction
+    with a loader option such as :func:`_orm.joinedload` would fail to ignore
+    the loader option. This is a behavior that has always been very specific to
+    the :meth:`_orm.Query.count` method; an error is normally raised if a given
+    :class:`_orm.Query` has options that don't apply to what it is returning.