]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- Fixed bug in :meth:`.Session.merge` where an object with a composite
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 12 Feb 2016 03:29:18 +0000 (22:29 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 12 Feb 2016 03:29:18 +0000 (22:29 -0500)
commit366f97b5617af0d15cfaf594ec5ef0408c70e873
tree135c27cc1557045f508911e5b1cc7f629655926c
parente5f1a3fb7dc1888ed187fdeae8171e4ff322dab6
- Fixed bug in :meth:`.Session.merge` where an object with a composite
primary key that has values for some but not all of the PK fields
would emit a SELECT statement leaking the internal NEVER_SET symbol
into the query, rather than detecting that this object does not have
a searchable primary key and no SELECT should be emitted.
fixes #3647
doc/build/changelog/changelog_10.rst
lib/sqlalchemy/orm/session.py
test/orm/test_merge.py