summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/dialects/mysql/pymysql.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2019-11-10 15:42:40 -0500
committerMike Bayer <mike_mp@zzzcomputing.com>2019-11-10 16:27:41 -0500
commit5c7754d685df3715da76327c7401e99177611daf (patch)
tree73f6fc69d4afbf3ef3fff96a2517949ea490f5e9 /lib/sqlalchemy/dialects/mysql/pymysql.py
parentbbe754784ae4630dd0ebf30d3bc2be566f8a8fef (diff)
downloadsqlalchemy-5c7754d685df3715da76327c7401e99177611daf.tar.gz
Exclude local columns when adapting secondary in a join condition
Fixed ORM bug where a "secondary" table that referred to a selectable which in some way would refer to the local primary table would apply aliasing to both sides of the join condition when a relationship-related join, either via :meth:`.Query.join` or by :func:`.joinedload`, were generated. The "local" side is now excluded. Fixes: #4974 Change-Id: Ia43da747c22141b05439f4511ddeceb10248582e
Diffstat (limited to 'lib/sqlalchemy/dialects/mysql/pymysql.py')
0 files changed, 0 insertions, 0 deletions