Revision 4483
Added by Aaron Marcuse-Kubitza about 12 years ago
sql_io.py | ||
---|---|---|
641 | 641 |
log_debug('Combining output and input pkeys in inserted order') |
642 | 642 |
pkey_joins = [insert_in_pkeys, sql_gen.Join(insert_out_pkeys, |
643 | 643 |
{sql.row_num_col: sql_gen.join_same_not_null})] |
644 |
insert_into_pkeys(pkey_joins, [sql_gen.Table(in_pkey, insert_in_pkeys),
|
|
645 |
sql_gen.Table(out_pkey, insert_out_pkeys)])
|
|
644 |
insert_into_pkeys(pkey_joins, [sql_gen.Col(in_pkey, insert_in_pkeys),
|
|
645 |
sql_gen.Col(out_pkey, insert_out_pkeys)])
|
|
646 | 646 |
|
647 | 647 |
sql.empty_temp(db, [insert_out_pkeys, insert_in_pkeys]) |
648 | 648 |
|
Also available in: Unified diff
sql_io.py: put_table(): Combining output and input pkeys in inserted order: Changed sql_gen.Table to sql_gen.Col when creating the column references (they have a similar effect, so using the wrong type did not cause any tests to fail)