- changed status to resolved
treatment of Ambiguous Column
Issue #657
resolved
in engine\base.py
if self.__props.setdefault(colname.lower(), rec) is not rec: self.__propscolname.lower() = (ResultProxy.AmbiguousColumn(colname), 0)
sets the __props entry for ambiguous column to be the above, which breaks the code in various places where a three tuple is expected
ammending the above to be if self.__props.setdefault(colname.lower(), rec) is not rec: type = ResultProxy.AmbiguousColumn(colname) self.__propscolname.lower() = (type, type.dialect_impl(self.dialect), i)
will cause appropriate exception to be thrown when ambiguous columns are accessed.
Comments (2)
-
repo owner -
repo owner - removed milestone
Removing milestone: 0.3.9 (automated comment)
- Log in to comment
changeset:2915