resetting order_by clause by passing in None as the sole parameter
Issue #924
resolved
inside sql.py
#python def append_order_by(self, *clauses): if clauses == []: self._order_by_clause = ClauseList()
the comparision clauses == None, would always return false, and the oracle adaptor and possibily other components is in fact relying on this to work
Lei
Comments (3)
-
Account Deleted -
repo owner - changed status to resolved
yup, another direct hit....e8feacf1db658ecccf7bb1d1688662e701ad37f5
-
repo owner - removed milestone
Removing milestone: 0.4.xx (automated comment)
- Log in to comment
the order_by(None) call is probably meant for internal use only and may not break the (offset, limit) emulation of oracle adaptor which relies on this, however, it does break my mssql (offset, limit) emulation which requires that no order_by clause is in a sub query