From c949312bc1a1980da016918d9c4b002b68062fca Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Tue, 16 Mar 2021 11:26:52 -0400 Subject: [PATCH] Add missing changelog file This file was missing for #6052 Fixes: #6052 Change-Id: Ic0543e633a9f9dfbae08f1636437c543e2e0cd40 --- doc/build/changelog/unreleased_14/6052.rst | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 doc/build/changelog/unreleased_14/6052.rst diff --git a/doc/build/changelog/unreleased_14/6052.rst b/doc/build/changelog/unreleased_14/6052.rst new file mode 100644 index 0000000000..bb56440240 --- /dev/null +++ b/doc/build/changelog/unreleased_14/6052.rst @@ -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. -- 2.47.2