]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- [bug] Fixed Session accounting bug whereby replacing
authorMike Bayer <mike_mp@zzzcomputing.com>
Wed, 3 Oct 2012 15:06:22 +0000 (11:06 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 3 Oct 2012 15:06:22 +0000 (11:06 -0400)
commit49703bf01a4fd7889d00ed24209569c65aa86b64
tree5885fb9a5431b18b4c0e1f424cb2ffda8f6ffa41
parent8bee7981e582bad88791835777bfa58535d0c659
  - [bug] Fixed Session accounting bug whereby replacing
    a deleted object in the identity map with another
    object of the same primary key would raise a
    "conflicting state" error on rollback(),
    if the replaced primary key were established either
    via non-unitofwork-established INSERT statement
    or by primary key switch of another instance.
    [ticket:2583]
CHANGES
lib/sqlalchemy/orm/session.py
test/orm/test_transaction.py