Project

General

Profile

« Previous | Next » 

Revision 3022

sql.py: put_table(): Inserting new rows: Removed no longer needed filter-out LEFT JOIN, since the INSERT IGNORE replacement handles duplicate keys

View differences:

sql.py
1460 1460
        insert_joins = input_joins[:] # don't modify original!
1461 1461
        insert_args = dict(recover=True, cacheable=False)
1462 1462
        if has_joins:
1463
            insert_joins.append(sql_gen.Join(out_table, join_cols,
1464
                sql_gen.filter_out))
1465 1463
            insert_args.update(dict(ignore=True))
1466 1464
        else:
1467 1465
            insert_args.update(dict(returning=out_pkey, into=insert_out_pkeys))

Also available in: Unified diff