summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/dialects/postgresql/psycopg2.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2019-05-31 16:47:19 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2019-05-31 16:48:01 -0400
commite6572789bb6fec5f1ac07653908c0f29d7904ece (patch)
treeacf2955db1a6698f24b82c6c6c2ab1ba2848029d /lib/sqlalchemy/dialects/postgresql/psycopg2.py
parent90ed3cd99fe007626b2b830a93c8c1e14e15536a (diff)
downloadsqlalchemy-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