fixed bug where Column with redefined "key" property wasnt getting

type conversion happening in the ResultProxy [ticket:207]
This commit is contained in:
Mike Bayer
2006-06-14 16:46:38 +00:00
parent 53faada96c
commit 3f8bfe517c
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -5,6 +5,8 @@
auto-foreignkey detection [ticket:151]
- fixed bug where tables with schema names werent getting indexed in
the MetaData object properly
- fixed bug where Column with redefined "key" property wasnt getting
type conversion happening in the ResultProxy [ticket:207]
0.2.2
- big improvements to polymorphic inheritance behavior, enabling it
+1 -1
View File
@@ -168,7 +168,7 @@ class ANSICompiler(sql.Compiled):
if len(self.select_stack):
# if we are within a visit to a Select, set up the "typemap"
# for this column which is used to translate result set values
self.typemap.setdefault(column.key.lower(), column.type)
self.typemap.setdefault(column.name.lower(), column.type)
if column.table is None or not column.table.named_with_column():
self.strings[column] = column.name
else: