Project

General

Profile

« Previous | Next » 

Revision 2205

sql.py: put_table(): mk_select_(): Fixed bug where order_by needed to be None because otherwise it wouldn't match the distinct_on cols if they were specified

View differences:

lib/sql.py
788 788
    
789 789
    def mk_select_(cols, distinct_on=None):
790 790
        return mk_select(db, insert_joins, cols, distinct_on=distinct_on,
791
            limit=limit, start=start, table_is_esc=table_is_esc)
791
            order_by=None, limit=limit, start=start, table_is_esc=table_is_esc)
792 792
    
793 793
    out_pkeys_ref = ['out_pkeys_'+temp_suffix]
794 794
    def insert_(distinct_on=None):

Also available in: Unified diff