]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- Some fixes to "evaulate" and "fetch" evaluation
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 7 Apr 2011 16:49:29 +0000 (12:49 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 7 Apr 2011 16:49:29 +0000 (12:49 -0400)
commit708a25e76a3cb9528c65d45ad37fc562cf178e44
tree8671a00c4dda81b921183f7f1193ebcaa39e469e
parented5783772dff7bdef9de381dd0fb5c70adc89995
- Some fixes to "evaulate" and "fetch" evaluation
when query.update(), query.delete() are called.
The retrieval of records is done after autoflush
in all cases, and before update/delete is
emitted, guarding against unflushed data present
as well as expired objects failing during
the evaluation.  [ticket:2122]
CHANGES
lib/sqlalchemy/orm/query.py
test/orm/test_query.py
test/orm/test_update_delete.py [new file with mode: 0644]