summaryrefslogtreecommitdiff
path: root/test/dialect/mysql/test_compiler.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2021-05-04 11:19:00 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2021-05-04 11:25:12 -0400
commitdd6f4543bc8ccbf07bfc5c8fb850be60ab420b57 (patch)
tree19a5c09bb4245b9b430a214084cdbc93a0ece510 /test/dialect/mysql/test_compiler.py
parentf1f4f466fd809a14bff6d0c405a1d5da87438379 (diff)
downloadsqlalchemy-dd6f4543bc8ccbf07bfc5c8fb850be60ab420b57.tar.gz
Restore detached object logic for dynamic, but warn
Fixed regression involving ``lazy='dynamic'`` loader in conjunction with a detached object. The previous behavior was that the dynamic loader upon calling methods like ``.all()`` returns empty lists for detached objects without error, this has been restored; however a warning is now emitted as this is not the correct result. Other dynamic loader scenarios correctly raise ``DetachedInstanceError``. Fixes: #6426 Change-Id: Id7ad204bef947491fa7e462c5acda2055fada910
Diffstat (limited to 'test/dialect/mysql/test_compiler.py')
0 files changed, 0 insertions, 0 deletions