diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2021-05-27 21:15:01 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2021-05-27 21:31:18 -0400 |
commit | aaba0650d7410f579b2c14f8f1b0680a1d1852c4 (patch) | |
tree | 22909a68b1802aa5fefa12a276040414e6aa8ec2 /lib/sqlalchemy/sql/traversals.py | |
parent | 4c6f10d7a3665e895b095db2f29ad04a9ac71ded (diff) | |
download | sqlalchemy-aaba0650d7410f579b2c14f8f1b0680a1d1852c4.tar.gz |
ensure relationship.order_by stored as a tuple; check in dynamic also
Fixed regression in dynamic loader strategy and :func:`_orm.relationship`
overall where the :paramref:`_orm.relationship.order_by` parameter were
stored as a mutable list, which could then be mutated when combined with
additional "order_by" methods used against the dynamic query object,
causing the ORDER BY criteria to continue to grow repetitively.
Fixes: #6549
Change-Id: I9f4c9a723aa0923f115cbe39bfaaa9cac62153b1
Diffstat (limited to 'lib/sqlalchemy/sql/traversals.py')
0 files changed, 0 insertions, 0 deletions