diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2017-04-10 13:25:50 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2017-04-10 14:36:16 -0400 |
commit | 86c43d2e0f0c7c28b933f470678571077c5d5035 (patch) | |
tree | 82c09614ed7abda55a3c1d56e5d7eadbbc3647b4 /lib/sqlalchemy/dialects/postgresql/array.py | |
parent | 93b11905e599a6d73a85d2085e15385ebf46cdc6 (diff) | |
download | sqlalchemy-86c43d2e0f0c7c28b933f470678571077c5d5035.tar.gz |
Compare entities also on chop_path
When comparing query._current_path to options, the path chop
was not taking into account that the query or the options are
against aliased classes that don't match the mapper.
The issue does not seem to take place for the Load() version
of _chop_path.
Fixed bug to improve upon the specificity of loader options that
take effect subsequent to the lazy load of a related entity, so
that the loader options will match to an aliased or non-aliased
entity more specifically if those options include entity information.
Fixes: #3963
Change-Id: Ifdff37d579042fcc62bdeabce9e2413e9a03fbba
Diffstat (limited to 'lib/sqlalchemy/dialects/postgresql/array.py')
0 files changed, 0 insertions, 0 deletions