diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2021-04-20 11:33:02 -0400 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2021-04-20 11:33:48 -0400 |
| commit | 033e673f8771dfb20dd7b67a780c6ef3d3210e37 (patch) | |
| tree | 988c3f65aa249a0ae9d541e5a44d84444ba88e6c /lib/sqlalchemy/sql | |
| parent | a58c99977eafc5f69a3e37f9ddcc328698e7fe1e (diff) | |
| download | sqlalchemy-033e673f8771dfb20dd7b67a780c6ef3d3210e37.tar.gz | |
Narrow refresh populate_existing to just refresh_state
Fixed additional regression caused by the "eagerloaders on refresh" feature
added in :ticket:`1763` where the refresh operation historically would set
``populate_existing``, which given the new feature now overwrites pending
changes on eagerly loaded objects when autoflush is false. The
populate_existing flag has been turned off for this case and a more
specific method used to ensure the correct attributes refreshed.
Fixes: #6326
Change-Id: I40315e4164eae28972c5839c04580d292bc6cb24
Diffstat (limited to 'lib/sqlalchemy/sql')
0 files changed, 0 insertions, 0 deletions
