Project

General

Profile

« Previous | Next » 

Revision 2208

sql.py: put_table(): mk_main_select(): Pass outer var conds to mk_select()

View differences:

lib/sql.py
786 786
            run_query_into(db, query, params, into_ref=pkeys_ref)
787 787
            pkeys_table_exists_ref[0] = True
788 788
    
789
    conds = {}
789 790
    distinct_on = None
790 791
    def mk_main_select(cols):
791
        return mk_select(db, insert_joins, cols, distinct_on=distinct_on,
792
        return mk_select(db, insert_joins, cols, conds, distinct_on,
792 793
            order_by=None, limit=limit, start=start, table_is_esc=table_is_esc)
793 794
    
794 795
    # Do inserts and selects

Also available in: Unified diff