Project

General

Profile

« Previous | Next » 

Revision 2786

sql.py: mk_select(): Return just the query instead of the query plus empty params

View differences:

db_xml.py
161 161
        full_in_table = in_table
162 162
        in_table = copy.copy(in_table) # don't modify input!
163 163
        in_table.set_srcs([full_in_table])
164
        sql.run_query_into(db, *sql.mk_select(db, in_table, limit=limit,
164
        sql.run_query_into(db, sql.mk_select(db, in_table, limit=limit,
165 165
            start=start), into=in_table)
166 166
            # in_table will be shadowed (hidden) by the created temp table
167 167
        sql.add_pkey(db, in_table)

Also available in: Unified diff