diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2021-04-27 20:44:46 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2021-04-27 22:18:01 -0400 |
commit | 7fdaac7b2910b5612420378519b9f60d4649daff (patch) | |
tree | 7d3f72c3c88aaaa8d54affd1f3ac3f9bd55cc00f /lib/sqlalchemy/dialects/sqlite/pysqlite.py | |
parent | 2af1b107fce34b15898e6f534097ad34cfd7d503 (diff) | |
download | sqlalchemy-7fdaac7b2910b5612420378519b9f60d4649daff.tar.gz |
don't mutate the statement in ORM compile
Fixed issue where using a :class:`_sql.Select` as a subquery in an ORM
context would modify the :class:`_sql.Select` in place to disable
eagerloads on that object, which would then cause that same
:class:`_sql.Select` to not eagerload if it were then re-used in a
top-level execution context.
Fixes: #6378
Change-Id: I945048c4c148587b933fb65a3fc83a05d05c052d
Diffstat (limited to 'lib/sqlalchemy/dialects/sqlite/pysqlite.py')
0 files changed, 0 insertions, 0 deletions