]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
more changes to merge(dont_load); since we now have a guarantee that
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 23 Nov 2007 19:01:40 +0000 (19:01 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 23 Nov 2007 19:01:40 +0000 (19:01 +0000)
commit238dc916fa9fca6c79046dea004d108df685e29e
tree7a35ebdbbd23833834fcab3b3db59e3240d06e43
parent41403b79300fb65125ab8bde00efbec9eaa89d43
more changes to merge(dont_load); since we now have a guarantee that
all merged instances aren't dirty, we can copy the attribues without using
any append/replace events, and therefore don't have any concern of lazy loaders
firing off.  added tests to ensure that '_is_orphan()' doesn't get screwed up,
and also that the 'dirty' list on the new session stays empty, which is an
extra bonus of this approach.
CHANGES
lib/sqlalchemy/orm/properties.py
test/orm/merge.py