]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- fixed bug which could occur with polymorphic "union" mapper
authorMike Bayer <mike_mp@zzzcomputing.com>
Sun, 6 Jan 2008 20:32:45 +0000 (20:32 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sun, 6 Jan 2008 20:32:45 +0000 (20:32 +0000)
commitd879135085d442b942253688dd5d20edc2b560ec
treed4261ec338dfd242eb06915d17435819a4da712b
parenta78914942ccc26bfad91e367eaaae2dbd29e4439
- fixed bug which could occur with polymorphic "union" mapper
which falls back to "deferred" loading of inheriting tables

- the "columns" collection on a mapper/mapped class (i.e. 'c')
is against the mapped table, not the select_table in the
case of polymorphic "union" loading (this shouldn't be
noticeable)
CHANGES
lib/sqlalchemy/orm/mapper.py
test/orm/inheritance/alltests.py
test/orm/inheritance/query.py [new file with mode: 0644]