Commits

Mike Bayer committed 8947d6c

- Fixed 0.4-only bug preventing composite columns
from working properly with inheriting mappers
[ticket:1199]

Comments (0)

Files changed (2)

     - 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

lib/sqlalchemy/orm/strategies.py

         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: