treatment of Ambiguous Column #657
Labels
bug
Something isn't working
engine
engines, connections, transactions, isolation levels, execution options
low priority
Milestone
Migrated issue, originally created by Anonymous
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.
The text was updated successfully, but these errors were encountered: