Project

General

Profile

« Previous | Next » 

Revision 2780

db_xml.py: put_table(): Subsetting in_table: Add pkey to created temp table to facilitate joining it with intermediate tables

View differences:

db_xml.py
164 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
        sql.add_pkey(db, in_table)
167 168
    
168 169
    def pkey(table): return sql.pkey(db, table, True)
169 170
    

Also available in: Unified diff