diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2019-05-31 16:47:19 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2019-05-31 16:48:01 -0400 |
commit | e6572789bb6fec5f1ac07653908c0f29d7904ece (patch) | |
tree | acf2955db1a6698f24b82c6c6c2ab1ba2848029d /lib/sqlalchemy/dialects/postgresql/psycopg2.py | |
parent | 90ed3cd99fe007626b2b830a93c8c1e14e15536a (diff) | |
download | sqlalchemy-e6572789bb6fec5f1ac07653908c0f29d7904ece.tar.gz |
Apply adaptation for most recent aliased=True first
Fixed regression in :meth:`.Query.join` where the ``aliased=True`` flag
would not properly apply clause adaptation to filter criteria, if a
previous join were made to the same entity. This is because the adapters
were placed in the wrong order. The order has been reversed so that the
adapter for the most recent ``aliased=True`` call takes precedence as was
the case in 1.2 and earlier. This broke the "elementtree" examples among
other things.
Fixes: #4704
Change-Id: I69f76c97b11157100854d552b5a0ce0103642ec4
Diffstat (limited to 'lib/sqlalchemy/dialects/postgresql/psycopg2.py')
0 files changed, 0 insertions, 0 deletions