]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- Fixed an issue in baked queries where the .get() method, used either
authorMike Bayer <mike_mp@zzzcomputing.com>
Sun, 29 Nov 2015 16:42:55 +0000 (11:42 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sun, 29 Nov 2015 16:42:55 +0000 (11:42 -0500)
commitb0308a7b3af91cc61fbe3347376024ad8b7be019
tree9ea6e04086f85d8a9bd9855a9e7531b95db67368
parentc90f0a49f332867f6b337c79ddf192299788667f
- Fixed an issue in baked queries where the .get() method, used either
directly or within lazy loads, didn't consider the mapper's "get clause"
as part of the cache key, causing bound parameter mismatches if the
clause got re-generated.  This clause is cached by mappers
on the fly but in highly concurrent scenarios may be generated more
than once when first accessed.
fixes #3597
doc/build/changelog/changelog_10.rst
lib/sqlalchemy/ext/baked.py
test/ext/test_baked.py