]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
modifcation to unitofwork to not maintain ordering within the rel_0_2_7
authorMike Bayer <mike_mp@zzzcomputing.com>
Sat, 12 Aug 2006 22:58:49 +0000 (22:58 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sat, 12 Aug 2006 22:58:49 +0000 (22:58 +0000)
commitae5e73cbc144239738d394ccbc835965bde2b39a
tree9d9ea6821bb92daac9ed4b4adbc2d6c2bf5462f1
parenta2f00afe36206d8b73d9104ec0eeaa3a7c0447b8
modifcation to unitofwork to not maintain ordering within the
"new" list or within the UOWTask "objects" list; instead, new objects
are tagged with an ordering identifier as they are registered as new
with the session, and the INSERT statements are then sorted within the
mapper save_obj.  the INSERT ordering has basically been pushed allthe way
to the end of the flush cycle. that way the various sorts and
organizations occuring within UOWTask (particularly the circular task
sort) dont have to worry about maintaining order (which they werent anyway)
CHANGES
lib/sqlalchemy/orm/mapper.py
lib/sqlalchemy/orm/unitofwork.py