]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- fixed endless loop bug which could occur
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 4 Aug 2008 15:21:29 +0000 (15:21 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 4 Aug 2008 15:21:29 +0000 (15:21 +0000)
commitd371637af055805f347ad177f5b457bccbbc3150
tree890539bd5cecfe9b42aeb57546edf39a658cf599
parent28ff190475b1717a7cb8616a7ad8590c00a9a6c8
- fixed endless loop bug which could occur
within a mapper's deferred load of
inherited attributes.
- declarative initialization of Columns adjusted so that
non-renamed columns initialize in the same way as a non
declarative mapper.   This allows an inheriting mapper
to set up its same-named "id" columns in particular
such that the parent "id" column is favored over the child
column, reducing database round trips when this value
is requested.
CHANGES
lib/sqlalchemy/ext/declarative.py
lib/sqlalchemy/orm/attributes.py
lib/sqlalchemy/orm/mapper.py
lib/sqlalchemy/orm/properties.py
test/ext/declarative.py
test/orm/inheritance/basic.py
test/orm/inheritance/polymorph.py
test/orm/inheritance/query.py