diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2008-10-21 21:20:39 +0000 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2008-10-21 21:20:39 +0000 |
commit | 9b9bd678a7b002e01fac09ac5397d0e15bd4a96b (patch) | |
tree | 4d6fae6b2896292826a554d930a8c0b4bc05afc9 | |
parent | adc72de6a4fe2547b015ccc41c6b956137290925 (diff) | |
download | sqlalchemy-9b9bd678a7b002e01fac09ac5397d0e15bd4a96b.tar.gz |
- Fixed 0.4-only bug preventing composite columns
from working properly with inheriting mappers
[ticket:1199]
-rw-r--r-- | CHANGES | 4 | ||||
-rw-r--r-- | lib/sqlalchemy/orm/strategies.py | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -7,6 +7,10 @@ CHANGES - polymorphic_union() function respects the "key" of each Column if they differ from the column's name. + - Fixed 0.4-only bug preventing composite columns + from working properly with inheriting mappers + [ticket:1199] + 0.4.8 ===== - orm diff --git a/lib/sqlalchemy/orm/strategies.py b/lib/sqlalchemy/orm/strategies.py index 1255991a5..327d2ab53 100644 --- a/lib/sqlalchemy/orm/strategies.py +++ b/lib/sqlalchemy/orm/strategies.py @@ -62,7 +62,7 @@ class ColumnLoader(LoaderStrategy): if self.is_composite: for c in self.columns: if c not in row: - break + return (None, None, None) else: def new_execute(instance, row, **flags): if self._should_log_debug: |