]> 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:43:30 +0000 (11:43 -0500)
commit670fd506fe4cf9071e8e44b4d4028f0bb6ebebb7
tree53feac7ab931418e4e12785957f01db9cdccbc06
parentd2d60acdcbd4696567f8bdadc9b20014b2d25451
- 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

(cherry picked from commit b0308a7b3af91cc61fbe3347376024ad8b7be019)
doc/build/changelog/changelog_10.rst
lib/sqlalchemy/ext/baked.py
test/ext/test_baked.py