resetting order_by clause by passing in None as the sole parameter

Issue #924 resolved
Former user created an issue

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)

  1. Former user Account Deleted

    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

  2. Log in to comment