summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/sql/compiler.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2019-09-30 09:55:40 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2019-09-30 10:00:27 -0400
commit9f3539b1745cbb287a1338812872d27cde4ebf24 (patch)
tree356aba433707630167319294201f657c4817984e /lib/sqlalchemy/sql/compiler.py
parent2c34d2503a17316cae3282192405b9b9d60df6fe (diff)
downloadsqlalchemy-9f3539b1745cbb287a1338812872d27cde4ebf24.tar.gz
Ensure states with null m2o FK value are still populated by selectinloader
Fixed regression in selectinload loader strategy caused by #4775 (released in version 1.3.6) where a many-to-one attribute of None would no longer be populated by the loader. While this was usually not noticeable due to the lazyloader populating None upon get, it would lead to a detached instance error if the object were detached. Fixes: #4872 Change-Id: I18466841683111643810ebc4331376df38c4767b
Diffstat (limited to 'lib/sqlalchemy/sql/compiler.py')
0 files changed, 0 insertions, 0 deletions